|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Text wrapping ?
Hi,
I have a problem that I'm trying to figure out. If I have a div such as the following: PHP Code:
.. which I want to be able to use absolute positioning to place within my page. My question is, is there a way to make it so that text will wrap around it (such as a regular aligned image) instead of the text appearing underneath it? |
|
#2
|
||||
|
||||
|
Don't fall in love with absolute positioning. It's needed a lot less than you'd expect if you're coming over from the dark side (table layouts
). What you're looking for is "float."Code:
#Div1 {
background: url(title.gif) no-repeat;
float: left;
margin-top: 30px;
margin-left: 30px;
width: 387px;
height: 55px;
}
cheers, gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing. My html and css workshop, demos and tutorials. Ask a better question, get a better answer. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Text wrapping ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|