Advertisement:

Author Topic: [solved] help with css  (Read 1382 times)

Dominator69

  • Newbie
  • *
  • Posts: 44
[solved] help with css
« on: February 04, 2014, 02:37:36 am »
my site http://topoglasi.me/index.php?page=item&id=11

i need to fix left and right side to move the tables by 5-10 px to be inside.
« Last Edit: February 05, 2014, 01:28:49 am by Dominator69 »

aide2001

  • Guest
Re: help with css
« Reply #1 on: February 04, 2014, 11:24:02 am »
You need to change your <div class="content item"> in CSS search for item then using padding left:10px or whatever you want

Dominator69

  • Newbie
  • *
  • Posts: 44
Re: help with css
« Reply #2 on: February 04, 2014, 02:17:27 pm »

aide2001

  • Guest
Re: help with css
« Reply #3 on: February 04, 2014, 06:14:23 pm »
find
/* -- ITEM --------------------------------------- */
and
.item #main { float:left; width:600px; }
and change this to
.item #main { float:left; width:600px;padding-left:10px;padding-right:5px }
or
.item #main { float:left; width:600px;padding:10px }

Dominator69

  • Newbie
  • *
  • Posts: 44
Re: help with css
« Reply #4 on: February 04, 2014, 06:42:09 pm »
thanx that was correct i have now problem with this line
Code: [Select]
.item #contact { background:#e9f5f9; border: 1px solid #d7e3e7; padding:13px; -moz-border-radius:10px; border-radius:10px; margin: 20px auto; } cant push it to the left to be same as the photo on the top
« Last Edit: February 04, 2014, 08:05:00 pm by Dominator69 »

aide2001

  • Guest
Re: help with css
« Reply #5 on: February 04, 2014, 11:22:33 pm »
looks like you've had a go at the php code, looking at this,
 <div id="sidebar">
                                                        <div id="photos">
                                                <a href="http://topoglasi.me/oc-content/uploads/0/15.jpg" rel="image_group" title="Image 1 / 1">
                                                        <img src="http://topoglasi.me/oc-content/uploads/0/15.jpg" width="315" alt="Nokia 6030i" title="Nokia 6030i" />
                                                    </a>
                                            </div>
                                                    <div id="contact">

The photo id class is within the sidebar, so either in your item.php you closed your div to early, and replaced </div>  later on, this is now not a style issue

Dominator69

  • Newbie
  • *
  • Posts: 44
Re: help with css
« Reply #6 on: February 05, 2014, 01:28:17 am »
thanks