View Single Post
Old 01-30-2013, 12:42 AM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello Anishgiri,
To your first question about making that parent relative so it's contents can be positioned absolutely, you are doing that right.
Have a look at a tutorial about positioning that might explain it further.

As for #wrapper expanding in width or showing a scrollbar, I couldn't get either of those things to happen with the code you've posted here.

I did copy/past your code into a new .html document with a DocType, maybe you are not using one?
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote