I started making this site with a css template in microsoft expressions, it was supposed to have a right nav, in expressions it is on the right hand side but no matter what when i preview my page it gets shifted all the way left.
Hiya, am working on a site and I've never done a layout like this but take a look at this image and I'll explain below,
I want the right content, "Search Box" to drag down with the left content, so for example if the left content has a height of 600px the right will automatically be dragged down to 600px.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head>
I'm modifying a theme I didn't create, and trying to add a floating tab (similar to the "Uservoice" tab, seen on the left here:
I added the tab, but am not sure how to make it float on the left, a bit from the top, without altering the spacing of the layout (as it currently does). My site is www.dirtyglitter.tumblr.com
I have some experience with HTML but am pretty new to CSS. Any input would be much appreciated! Thank you!
The code of the theme (with my tab added) is as follows:
Ok so the subject line basically says it all. I tried the search function, google and my local forum but had no luck at all.
My document contains:
- What I have is a container (red, min-height: 100%) which is 100% of the document.
- In it I have a header (blue, 150 px).
- Below the header, also a direct child from container, there is content-div. Who happens to have NO height.
- In this content div are 2 other divs who both are on float: left. They're both a bit greenish and contain many divs to create the effect of having a large content.
My problem is:
I designed my site's layout using Photoshop and then exported the slices and had Ps automatically layout the images and generate the code. However, since it's a fixed width, I need some fluidity and want the background to seam evenly with the background of the design.