Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Fluidity help

Reply
Thread Tools

Fluidity help

 
 
Andrew Cameron
Guest
Posts: n/a
 
      01-10-2004
I'm having a problem with a new site I'm building. The test page is at (
http://dumpage.net/is/ ) with the CSS at ( http://dumpage.net/is/is.css )
and it validates (
http://validator.w3.org/check?uri=ht...umpage.net/is/ ).

I have described the problem on the page, but the basics of it is that all
browsers seem to be ignoring the 80% width I've given to the body, and just
go and show all DIVs at 100% - this doesn't sound right to me.

IE6 displays the page how I want it to be (other than the width issue) but
Opera and Firebird drop the main content DIV below everything else when I
don't define a width - but I don't want fixed-width! I can't go to
percentages because the menu needs to be 120px wide or the hover effect
doesn't work - I don't understand why I can't define the parent elements and
let the children fall into place. Using the clear property makes no
difference either, which surprised me as it's been a life-saver in the past.
I would appreciate any help in keeping this design fluid. Thank you.

--
Andrew Cameron
"Got my hand on my heart, I know no better location..."


 
Reply With Quote
 
 
 
 
Toby A Inkster
Guest
Posts: n/a
 
      01-10-2004
Andrew Cameron wrote:

> http://dumpage.net/is/


First problem:
| It displays next to the menu, as intended, in IE6 but in Firebird and
| Opera (the correctly-rendering browsers) this text drops below the menu.

Why is IE6 different? Because it is is quirks mode. Look at the top line
of the HTML and you'll understand why.

Second problem:
| Not only that, but all browsers are ignoring the 80% width I've given to
| the body

Missing semicolon.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
 
 
 
Andrew Cameron
Guest
Posts: n/a
 
      01-10-2004
Toby A Inkster wrote:
> Andrew Cameron wrote:
>
>> http://dumpage.net/is/

>
> First problem:
>> It displays next to the menu, as intended, in IE6 but in Firebird and
>> Opera (the correctly-rendering browsers) this text drops below the
>> menu.

>
> Why is IE6 different? Because it is is quirks mode. Look at the top
> line of the HTML and you'll understand why.


The xml declaration? I removed that, and even tried a different doctype
(HTML 4 Strict) but still IE displays it how I want (which is obviously
wrong, because Firebird displays it right, I realise) and the others don't.

> Second problem:
>> Not only that, but all browsers are ignoring the 80% width I've
>> given to the body

>
> Missing semicolon.


Thanks for noticing this! That now works, and I have amended the site
accordingly. Can you help with the dropping DIV by any chance? Thanks for
the reply.

--
Andrew Cameron
"Got my hand on my heart, I know no better location..."


 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      01-10-2004
Andrew Cameron wrote:

> The xml declaration? I removed that, and even tried a different doctype
> (HTML 4 Strict) but still IE displays it how I want (which is obviously
> wrong, because Firebird displays it right, I realise) and the others don't.


Hmmm... I thought that would have been the problem. It usually is.

Try getting rid of the right float on #content and then adding:

#shell #content { width: auto; margin-left: 150px; }

Should do what you want.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
Andrew Cameron
Guest
Posts: n/a
 
      01-10-2004
Toby A Inkster wrote:
> Try getting rid of the right float on #content and then adding:
>
> #shell #content { width: auto; margin-left: 150px; }
>
> Should do what you want.


Thanks Toby, this looks fantastic!

Now, if I put width: auto on the #content, leave the h1 definition alone but
put the margin on p, I get a neat overlap effect of the menu. What do you
think? ( http://dumpage.net/is/ )

--
Andrew Cameron
"Got my hand on my heart, I know no better location..."


 
Reply With Quote
 
kathy painter
Guest
Posts: n/a
 
      01-11-2004
----- Original Message -----
From: "Andrew Cameron" <> wrote on Saturday, January 10,
2004 3:55 PM Re: Fluidity help

>> Now, if I put width: auto on the #content, leave the h1 definition alone

but put the margin on p, I get a neat overlap effect of the menu. What do
you think? ( http://dumpage.net/is/ )


I'm sorry, Andrew, I'm not Toby, but I don't care fore the overlap feature
at all. You may need to lower the font size on menu because it simply seems
larger than the text, even though it may not be. Also, the menu feels "in
my face" because it is so high up. I might suggest you tone town the 2
heading colors, they seem bolder than the entire page. Check at softening it
up.

Like I said, I'm nobody but I hope my comments help you. Take them or leave
them.

Kathy


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C++0x fluidity Martin Eisenberg C++ 3 03-08-2009 08:49 PM
Help Help Help Pentax S5i Help needed (Please) The Martian Digital Photography 14 06-20-2008 07:56 AM
HELP WANTED HELP WANTED HELP WANTED Harvey ASP .Net 1 07-16-2004 01:12 PM
HELP WANTED HELP WANTED HELP WANTED Harvey ASP .Net 0 07-16-2004 10:00 AM
HELP! HELP! HELP! Opening Web Application Project Error =?Utf-8?B?dHJlbGxvdzQyMg==?= ASP .Net 0 02-20-2004 05:16 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57