I had exactly the same problem on something I'm working on - I was using as the basis for it one of the css examples that Cheryl recommended - the one which had a lot of boxes layouts... Similar code to Matt's example - probably shared an ancestor.
Anyway, top box wouldn't increase its height when it had its border no matter what I did - ie added together the height of the logos, the padding , the border & set that as total number of pixels for height both times it occured in that sample - had it up to 350px at one stage... damn box still too small. Swore at it every time I came back to it & in the end I took the border & padding off the top section. Then it was better.
Project's barely got beyond the front page & setting the layout at the moment - http://www.gaycampaigns.org.uk - which is an achievement as there are several campaigning groups represented ranging from rabid to moderate & the fact that they all like the logo I put together for this is amazing in itself ...
However: while I'm confessing to codal inadequacy & a lingering dependence on tables - how you get a logo to appear bang in the center of the screen other than by using a one cell table set to height="100%", please ?
Franni
Ignore all that, its working now, dunno what it was, but I'm not too bothered to tell the truth! :p
OK, so its not exactly best practice not to work out why it didn't work before, but hey, I'm not a pro! :D
Cheers Anyways,
Matt
On Wed, 2003-09-10 at 12:52, Matthew Macdonald-Wallace wrote:All,> The site is here: http://www.truthisfreedom.org.uk/new_site/ and the
I'm currently redeveloping a website using xHtml 1.0 Strict and CSS. Some of you helped me out with a problem with the xHtml yesterday, now I need help with the CSS!
problem is that I can't seem to get the top bar (with the word "Logo" in it) to change height! The code for that div's id is as follows:
#top { margin: 20px 20px 0px 20px; padding: 10px; border: 5px solid #d7d9ec; height: 100px; /* ie5win fudge begins */ voice-family: "\"}\""; voice-family:inherit; height: 100px; text-align: center; } html>body #top { height: 100px; /* ie5win fudge ends */ }
I've tried changing all the height variables one by one then all at once but there's still no change in size!
Any comments on the layout would be appreciated too, but this is very early days! :p
Cheers,
Matt -- +---------------------------------+ |Matthew Macdonald-Wallace | |The Truth Will Set you Free | |http://www.truthisfreedom.org.uk/| +---------------------------------+ BOFH Excuse #360: Your parity check is overdrawn and you're out of cache.
____ The WDVL Discussion List from WDVL.COM ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________> > You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] > To unsubscribe send a blank email to %%email.unsub%% -- +---------------------------------+ |Matthew Macdonald-Wallace | |The Truth Will Set you Free | |http://www.truthisfreedom.org.uk/| +---------------------------------+ Ah, so that's what's been wrong with the little fella. He misses casual sex. -- Homer Simpson Two Dozen and One Greyhounds
____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% -- This email was forwarded via the University of Cambridge alumni email system Visit http://cantab.net/ to update your forwarding details
____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
