Hi,
The reasons you have a horizontal scroll bar is that you have made the width in the following elements 99% but you have also added 5px padding and margins. This will make the elements bigger than 100%.
Code:
#bottomtextportfolio {
float:left;
width: 99%;
text-align:center;
background-color:transparent;
margin-left:5px;
margin-right:5px;
}
#portfoliobox {
float:left;
background-color:transparent;
width:99%;
margin:5px;
padding:5px;
text-align:center;
}
I'm not sure why you have floated the elements either as all you want is them to be centred.
Try this instead:
Code:
#bottomtextportfolio {
text-align:center;
background-color:transparent;
margin-left:5px;
margin-right:5px;
}
#portfoliobox {
background-color:transparent;
margin:5px;
padding:5px;
text-align:center;
}
Hope that helps.
Paul
Bookmarks