SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Jul 13, 2008, 12:33 #1
- Join Date
- Jul 2008
- Posts
- 21
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Positioning image beside gallery list
Hello!
I'm nearly completed with a website, but I'm running into a problem getting an image to position correctly beside a ul photo gallery list. I know it's something simple that I'm not thinking about, but I'm stumped.
to view it, go to beckysterndesign dot com and click on the portfolio link.
I need to move the iron man image and place it to the right of the gallery.
Any help would be super appreciated!
Becky Sue
-
Jul 13, 2008, 12:51 #2
- Join Date
- Nov 2005
- Location
- Norway
- Posts
- 715
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Just float it:
Code:#content { overflow: hidden; /* to clear the floats */ } #gallery { float: left; } #feature { float: right; }
-
Jul 13, 2008, 13:09 #3
- Join Date
- Jul 2008
- Location
- My Couch
- Posts
- 111
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I would wrap 2 divs inside of a div, and float eachother
<div id="page">
<div id="left">
CONTENT
</div>
<div id="right">
CONTENT
</div>
</div>
#left {
float: left;
clear: left;
}
#right {
float: left;
clear: right;
}
Bookmarks