Hi there,
Can anyone offer some advice on the best code for my Latest News page on a site I'm working on.
I would like the Latest News page to have the same arrow icon per entry as the contacts and links pages so I've started to use an unordered list but wasnt sure how to get the actual news text to wrap round under the subject heading but not under the date and arrow icon (indented).
I wondered if this was a job for a table as opposed to css.
<!-- m --><a class="postlink" href="http://www.**********.co.uk/pioneer/index.php?page=latest_news">http://www.**********.co.uk/pioneer/ind ... atest_news</a><!-- m -->
Cheers Simon Simon,
How about this? (<!-- m --><a class="postlink" href="http://bonrouge.com/test/pioneer.htm">http://bonrouge.com/test/pioneer.htm</a><!-- m -->)
Whoops! I've just checked this in IE - I often forget to check that thing - and it's a bit screwed up... I'll try to fix it.Hi Bon Rouge,
So glad that you responded to my post and very comprehensively too. Love the little script, thanks.
So what do you think of my first whole site written using css.
<!-- m --><a class="postlink" href="http://www.**********.co.uk/pioneer/index.php">http://www.**********.co.uk/pioneer/index.php</a><!-- m -->
This is your influence because many months ago you told me to stop using tables so I did and havent looked back since.
So many thanks on three counts - css direction, the script and your css answer to this post - looking forward to the ie compatable version cos I'm still using ie.
Again, thanks to your site which I also really like I may soon switch to firefox.
Si. Hi Bon Rouge,
1 question, why did you use a span class for the date and a div class for the story?
Cheers SiHi Bon Rouge,
Added your script which is great. Only one problem.
<!-- m --><a class="postlink" href="http://www.**********.co.uk/pioneer/index.php?page=links">http://www.**********.co.uk/pioneer/ind ... page=links</a><!-- m -->
The logo for the hlf is wrapped by a div tag putting it outside the mainright tag.
The script needs to add these two tags together (mainright and hlf) to get the height. I would like the hlf logo always to appear at the bottom of the right column no matter how long it is.
Is there any easy way to do this. I tried margins but there fixed nature is not flexible enough.
Many thanks
Si. So glad that you responded to my post and very comprehensively too. Love the little script, thanks.
Yeah, no probs.
That script is the only way I can see of making boxes like that the same height... Actually, I guess it could be done with background images, but it would be more difficult than the ones I'd normally use. You'd need to draw two boxes with the right width (the height could be quite small), then cut off the top and bottom and place them at the top and bottom of a container. Then if you took a slice of the middle, you could use that as a background-image of that container. Then you'd need to fiddle with the alignment to get everything straight. (Of course that would mean that the boxes themselves would have no border - it would just look like they did, which is all you need). It would be better than relying on script, but also more time-consuming and fiddly (though it might be a good idea - it's up to you).
So what do you think of my first whole site written using css.
Looks pretty good to me.
This is your influence because many months ago you told me to stop using tables so I did and havent looked back since.
That's good to hear.
Again, thanks to your site which I also really like I may soon switch to firefox.
You still use IE?!? Why? As a user, it seems like a kids toy compared with Firefox - especially when you install the right extensions in Firefox.
1 question, why did you use a span class for the date and a div class for the story?Hmmm... it just seemed appropriate. Divs are for blocks of text or whatever while spans are for inline text. As the date is just a little piece of text, span seemed appropriate.
Now, I thought it was better to take the bottom-right image and put it in that div on the right, but thinking again, I guess your way's better, so I've just added the height of that div into the equation in the script... Unfortunately, right now, I'm having server problems, so I can't upload the files at the moment, but I'll do it as soon as possible and then I think everything will be good.Ok... See what you think (<!-- m --><a class="postlink" href="http://bonrouge.com/test/pioneer.htm">http://bonrouge.com/test/pioneer.htm</a><!-- m -->)Hi Bon Rouge,
Many thanks this looks brilliant and thanks for amending the script (looks like +66).
I understand what you are saying with regard to the script as some users don't enable Javascript but the image thing is a little over my head and I'm not sure where to start on that one.
With regard to firefox can you help me with the extension setup e.g. whats best?
Thanks for everything. I will update my site when I get in from work.
Si.
Can anyone offer some advice on the best code for my Latest News page on a site I'm working on.
I would like the Latest News page to have the same arrow icon per entry as the contacts and links pages so I've started to use an unordered list but wasnt sure how to get the actual news text to wrap round under the subject heading but not under the date and arrow icon (indented).
I wondered if this was a job for a table as opposed to css.
<!-- m --><a class="postlink" href="http://www.**********.co.uk/pioneer/index.php?page=latest_news">http://www.**********.co.uk/pioneer/ind ... atest_news</a><!-- m -->
Cheers Simon Simon,
How about this? (<!-- m --><a class="postlink" href="http://bonrouge.com/test/pioneer.htm">http://bonrouge.com/test/pioneer.htm</a><!-- m -->)
Whoops! I've just checked this in IE - I often forget to check that thing - and it's a bit screwed up... I'll try to fix it.Hi Bon Rouge,
So glad that you responded to my post and very comprehensively too. Love the little script, thanks.
So what do you think of my first whole site written using css.
<!-- m --><a class="postlink" href="http://www.**********.co.uk/pioneer/index.php">http://www.**********.co.uk/pioneer/index.php</a><!-- m -->
This is your influence because many months ago you told me to stop using tables so I did and havent looked back since.
So many thanks on three counts - css direction, the script and your css answer to this post - looking forward to the ie compatable version cos I'm still using ie.
Again, thanks to your site which I also really like I may soon switch to firefox.
Si. Hi Bon Rouge,
1 question, why did you use a span class for the date and a div class for the story?
Cheers SiHi Bon Rouge,
Added your script which is great. Only one problem.
<!-- m --><a class="postlink" href="http://www.**********.co.uk/pioneer/index.php?page=links">http://www.**********.co.uk/pioneer/ind ... page=links</a><!-- m -->
The logo for the hlf is wrapped by a div tag putting it outside the mainright tag.
The script needs to add these two tags together (mainright and hlf) to get the height. I would like the hlf logo always to appear at the bottom of the right column no matter how long it is.
Is there any easy way to do this. I tried margins but there fixed nature is not flexible enough.
Many thanks
Si. So glad that you responded to my post and very comprehensively too. Love the little script, thanks.
Yeah, no probs.
That script is the only way I can see of making boxes like that the same height... Actually, I guess it could be done with background images, but it would be more difficult than the ones I'd normally use. You'd need to draw two boxes with the right width (the height could be quite small), then cut off the top and bottom and place them at the top and bottom of a container. Then if you took a slice of the middle, you could use that as a background-image of that container. Then you'd need to fiddle with the alignment to get everything straight. (Of course that would mean that the boxes themselves would have no border - it would just look like they did, which is all you need). It would be better than relying on script, but also more time-consuming and fiddly (though it might be a good idea - it's up to you).
So what do you think of my first whole site written using css.
Looks pretty good to me.
This is your influence because many months ago you told me to stop using tables so I did and havent looked back since.
That's good to hear.
Again, thanks to your site which I also really like I may soon switch to firefox.
You still use IE?!? Why? As a user, it seems like a kids toy compared with Firefox - especially when you install the right extensions in Firefox.
1 question, why did you use a span class for the date and a div class for the story?Hmmm... it just seemed appropriate. Divs are for blocks of text or whatever while spans are for inline text. As the date is just a little piece of text, span seemed appropriate.
Now, I thought it was better to take the bottom-right image and put it in that div on the right, but thinking again, I guess your way's better, so I've just added the height of that div into the equation in the script... Unfortunately, right now, I'm having server problems, so I can't upload the files at the moment, but I'll do it as soon as possible and then I think everything will be good.Ok... See what you think (<!-- m --><a class="postlink" href="http://bonrouge.com/test/pioneer.htm">http://bonrouge.com/test/pioneer.htm</a><!-- m -->)Hi Bon Rouge,
Many thanks this looks brilliant and thanks for amending the script (looks like +66).
I understand what you are saying with regard to the script as some users don't enable Javascript but the image thing is a little over my head and I'm not sure where to start on that one.
With regard to firefox can you help me with the extension setup e.g. whats best?
Thanks for everything. I will update my site when I get in from work.
Si.