View Single Post
  #1  
Old 07-28-2007, 09:18 PM
  scoobie's Avatar 
scoobie scoobie is offline
 

Advanced Member
  
Join Date: Dec 2006
Location: Sydney
Posts: 84
 

Default Main Content Padding Issue

Hi,

I am having an issue applying a margin to my main content. Basically I have removed code from head.tpl to line up my left vertical column right under my banner and navigation bar. As a result my welcome message and everything else line up straight under the nav bar too. I was hoping I could just apply some sort of padding or margin to an element to fix this.

I put the following code into my css file:-

.content_position {
margin-left:70px;
margin-top:50px;
}

and in my home_main.tpl on the first line, I added the following div statement because it would take into account all templates.

<div class= "content_position"</div>

My change worked fine in Internet Explorer but only the margin-top value worked in Firefox. Can someone give me some help with this?
Attached Thumbnails
Click image for larger version

Name:	layout2.jpg
Views:	150
Size:	39.3 KB
ID:	495  
__________________
X-CART 4.1.8 (Add-Ons: onSale, CDSEO, AOM, Thickbox)
PHP 4.4.4
SQL 4.1.21
Linux O/S
Reply With Quote