HighDots Forums  

please HELP, any advice appreciated

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss please HELP, any advice appreciated in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dave Brown
 
Posts: n/a

Default please HELP, any advice appreciated - 11-04-2004 , 01:28 PM






Hi all,

first posting to this group but after a couple of days of trying to work
out what the hell's going on I've had enough..
You're all probably sick of seeing this posting appear a thousand times
before but I cant find the solution, sorry :'(

I've a site which used to be all tables but i wanted to try and do the
css conversion, almost did it but having problems with a 3 column
section of divs..

I want to use relative positioning and use the float method to make each
div sit by each other but the div which is supposed to be on the far
right will as hell not go there ! Well it does go to the right but the
TOP is not at the same level as the center div, rather its top is the
same as the bottom of the center div.

i've uploaded everything you need to see, i've cut a lot of the
superflous stuff off the page just to easily see the troublesome bit.

The URL is http://www.dbws.net/crap/site/forhelp.htm
the CSS is http://www.dbws.net/crap/site/styles.css

Many thanks in advance to anyone who can shed some light on this.


Dave.

Reply With Quote
  #2  
Old   
Philip Ronan
 
Posts: n/a

Default Re: please HELP, any advice appreciated - 11-04-2004 , 01:39 PM






Dave Brown wrote:

Quote:
I've a site which used to be all tables but i wanted to try and do the
css conversion, almost did it but having problems with a 3 column
section of divs..

I want to use relative positioning and use the float method to make each
div sit by each other but the div which is supposed to be on the far
right will as hell not go there ! Well it does go to the right but the
TOP is not at the same level as the center div, rather its top is the
same as the bottom of the center div.
Put the content for the left and right floated DIVs in *before* the content
for the one in the middle.

So to get this:

AAAAA BBBBB CCCCC
AAAAA BBBBB CCCCC
AAAAA BBBBB CCCCC

You need this:

<DIV id="#leftFloat">AAAAA AAAAA AAAAA</DIV>
<DIV id="#rightFloat">CCCCC CCCCC CCCCC</DIV>
<DIV id="#center">BBBBB BBBBB BBBBB</DIV>

--
Philip Ronan
phil.ronanzzz (AT) virgin (DOT) net
(Please remove the "z"s if replying by email)




Reply With Quote
  #3  
Old   
Neal
 
Posts: n/a

Default Re: please HELP, any advice appreciated - 11-04-2004 , 01:43 PM



On Thu, 04 Nov 2004 19:28:31 +0000, Dave Brown <dave (AT) nospamhere (DOT) dbws.net>
wrote:

Quote:
I want to use relative positioning and use the float method to make each
div sit by each other but the div which is supposed to be on the far
right will as hell not go there !
Float simply moves the content 1) to the side as far as is possible, and
2) out of flow, so the following content starts at the same height.

Floats must be before the other content in the HTML.


Reply With Quote
  #4  
Old   
Dave Brown
 
Posts: n/a

Default Re: please HELP, any advice appreciated - 11-04-2004 , 02:09 PM



Thanks,

I got all excited then moved them around in Dweaver and it sorted it,
looks good in firefox too, but in IE the center now has its top where
the bottom of the right one is....

but its closer to being fixed i can feel it !!


Philip Ronan wrote:
Quote:
Dave Brown wrote:


I've a site which used to be all tables but i wanted to try and do the
css conversion, almost did it but having problems with a 3 column
section of divs..

I want to use relative positioning and use the float method to make each
div sit by each other but the div which is supposed to be on the far
right will as hell not go there ! Well it does go to the right but the
TOP is not at the same level as the center div, rather its top is the
same as the bottom of the center div.


Put the content for the left and right floated DIVs in *before* the content
for the one in the middle.

So to get this:

AAAAA BBBBB CCCCC
AAAAA BBBBB CCCCC
AAAAA BBBBB CCCCC

You need this:

DIV id="#leftFloat">AAAAA AAAAA AAAAA</DIV
DIV id="#rightFloat">CCCCC CCCCC CCCCC</DIV
DIV id="#center">BBBBB BBBBB BBBBB</DIV


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.