Click to See Complete Forum and Search --> : Layout design... I'm Stuck (DIV Construction)


pilau
04-10-2010, 01:30 PM
Hi everyone!

I am trying to create a layout that would work in Firefox and IE. The layout is pretty simple: One container DIV, which contains several DIVs and each DIV contains only one line of text, which has to be vertically-centered. All of the smaller DIVs must be horizontally-centered inside the container DIV.

Also, the entire complex should have a varying width (25% of body width).

I have been working on this for the last 5 hours. So far I could only come out with a satisfactory design on Firefox which doesn't work on IE, and with a unsatisfactory design on IE, which fails completely on Firefox.

Please, help me get this right. I have no idea what to do with this! Thanks in advance, all those who help.

donatello
04-10-2010, 01:40 PM
Conditional tags... so a different style is used for Firefox and IE...

You can have two entirely different pages open depending upon which browser they use.

Go here with Firefox, then again with IE to see it done:
www.makegooglemyhomepage.com

I"m too lazy to extract and post the code and am logging off for the nite...

good luck!
:)

pilau
04-10-2010, 01:45 PM
Thanks for your quick reply, donatello, but the thing is I don't know exactly what I am not doing right to make this design work in the first place.

aj_nsc
04-10-2010, 02:59 PM
Then post your code, and a photoshop (or some sort of) image of what you are trying to achieve would help as well.