Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Layout Adjustment


Guest

Recommended Posts

Posted

Hi

 

I was wondering if there is a way to change my design slightly. If you could visit my website. As you can see, there is a rather big space between the nav bar and the top of the columns and the start of the text "It can be..."

 

With my existing template, is there a way of pulling the columns and text up so there is not so much empty space between the nav bar and the content?

 

Thank you

Andrew

Posted

You seem to have a mess of tables and div containers that make it really hard to even figure out what is what..

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted

Hi

 

I was wondering if there is a way to change my design slightly. If you could visit my website. As you can see, there is a rather big space between the nav bar and the top of the columns and the start of the text "It can be..."

 

With my existing template, is there a way of pulling the columns and text up so there is not so much empty space between the nav bar and the content?

 

Thank you

Andrew

In the stylesheet change:

 

#rightr{margin-top:5px;}

 

To:

 

#rightr{margin-top:0px;}

 

And change:

 

#bg2{	width:100%;
padding-top:10px;  
}

 

To:

 

#bg2{	width:100%;
padding-top:0px;  
}

 

Sometimes after changing the stylesheet in order to see any change you have to hold the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server, including the newly changed stylesheet.

 

This works with IE and Firefox.

 

Then in the PHP pages (most of the PHP pages in the root) change:

 

<div id="maincontainer">
  <table style="margin-bottom:30px" align="center" border="0" cellpadding="0" cellspacing="0" width="1028">

 

<div id="maincontainer">
  <table align="center" border="0" cellpadding="0" cellspacing="0" width="1028">

 

This doesn't get rid of all the space but it does knock a fair sized chunk of it off.

:)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

In the stylesheet change:

 

#rightr{margin-top:5px;}

 

To:

 

#rightr{margin-top:0px;}

 

And change:

 

#bg2{	width:100%;
padding-top:10px;  
}

 

To:

 

#bg2{	width:100%;
padding-top:0px;  
}

 

Sometimes after changing the stylesheet in order to see any change you have to hold the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server, including the newly changed stylesheet.

 

This works with IE and Firefox.

 

Then in the PHP pages (most of the PHP pages in the root) change:

 

<div id="maincontainer">
  <table style="margin-bottom:30px" align="center" border="0" cellpadding="0" cellspacing="0" width="1028">

 

<div id="maincontainer">
  <table align="center" border="0" cellpadding="0" cellspacing="0" width="1028">

 

This doesn't get rid of all the space but it does knock a fair sized chunk of it off.

:)

 

That worked great. Thank you

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...