tags:

views:

109

answers:

1
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"&gt;
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Susie Bush Photography</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="wrapper">
<div id="title"></div>
<div id="mainimage"><img src="mainimage.jpg" /></div></div>
<div style="width:50%;">

http://susiebushphotography.com/about.html

thanks to the community here im starting to learn not to use absolute positioning- but this layout was done by someone before i started here-- so is there an easy way to remove the white space below the lion so i can use this as the ABOUT page? or do i have to redo the entire CSS layout?

thanks

+1  A: 

Try replacing the original with this to remove the space below the lion,

#wrapper {
  position:relative;
  margin: 0 auto 0 auto;
  width: 685px;
}

#title{
  position:absolute;
  top: 15px;
  width: 235px;
  height:265px;
  background-image:url(title.jpg);
  background-repeat:no-repeat;
  display:block;
}

#mainimage{
  position:absolute;
  top: 15px;
  left: 235px;
  width: 450px;
  height:265px;
  display:block;
}

This is just a quickfix kinda stuff, and a work around.

Notice: Only tried on FF 3.5.6.

Adeel Ansari
change the css master file or put this somewhere in the about page? if i put it in the master file will it affect the other pages?
adam
@adam: Yes, put it only in the about page header.
Georg
@gs thanks-- i marked the q as answered and will try and move on- but i dont think it worked and im using the right version of FFi copied the code as is, into the header then i hadded style tags above and below-- neither changed anything
adam
These CSS classes is under your `style.css`. You can directly change those, but that might affect your other pages. So, you might like to add it as a separate one for `about` page. Or you might want to fix the other pages accordingly, instead, if those are not many.
Adeel Ansari