Previous Message
Next Message

container confusion

Sent by ZEFXIS - Nick Mavros on 21 December 2004 09:09


As far as I know there are two ways to place two block elements (divs in 
your case) next to each other.
The first way is to use absolute positioning (I would only use this choice 
for the design of the page and not for its content).
The second way is to use "float: left" in both divs but you have to be 
carefull with floats because they take the divs out of the normal flow of 
the page and you may encounter some other problems...
As for your question, although I am not a very experienced css-user and I 
know little about theory I would suggest you not to do it.You can't have a 
<div> inside an <a> but you can have a <span> inside an <a> (if that helps 
you). Try to find a diiferent way to accomplish it.

Nick 

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: