psypent81 Posted May 14, 2007 Share Posted May 14, 2007 Hi everyone.Well, here it is, my first look into a website made solely with DIVs.I still have a few questions as I didnt know how to fix this little problem.Here the site:http://www.helenbwilson.com/helen-portfolio-1.htmlIf you click on a thumbnail, the caption is shown in the upper left hand corner of the div. If I use padding-top and padding left, my #designhbw DIV moves over to the right, which obstructs the centered style of the site. Am I doing something wrong, or is there a workaround?Also, any other criticisms (please let them be constructive:)) I would really appreciate .Thanks for all the help, I just love Divs. so much control! Hehehe.-psypent Link to comment Share on other sites More sharing options...
ste Posted May 15, 2007 Share Posted May 15, 2007 you could try adding the padding but also subtracting the same value from the containers width.instead of:#designhbw {height: 25px;width: 600px;}you could put:#designhbw {height: 20px;width: 590px;padding: 5px 0 0 10px;}alternatively you could put the text in a span and style that with a margin Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.