www.webdeveloper.com
Results 1 to 7 of 7

Thread: css

  1. #1
    Join Date
    Sep 2008
    Posts
    4

    css

    can someone please help me im pulling my hair out, I have created a site for someone and have put a div ontop of a div and put a table inside that but when i view it in internet explorer the alginment is off has anyone any suggestions i would be extremely gratefull.

  2. #2
    Join Date
    Sep 2008
    Location
    Canada
    Posts
    246
    Hi there,

    Could we see an example of your problem?

  3. #3
    Join Date
    Sep 2008
    Posts
    4
    the problem is it doesnt look right when i view IE its in a completely different position y??? I have put the page on the net for you to see premierefencing.co.uk/contact.html please look at it soon as i would like to get it off asap

    Thanks

  4. #4
    Join Date
    Sep 2008
    Location
    Canada
    Posts
    246
    Your apDiv1 is absolutely positioned, that's why its mis-aligned. At least I assume you want it flush with the right hand side?

    Try reducing the 'left' property of it by 80px or so.

  5. #5
    Join Date
    Sep 2008
    Posts
    4
    i have aligned it way off to the right so it looks silly in dreamweaver but looks ok in IE however when i view the page on a smaller screen it takes the same postion i have put it in dreamweaver should the postion not be absolute??
    I have tryed the other ones and there are no effects

  6. #6
    Join Date
    Sep 2008
    Location
    Canada
    Posts
    246
    Absolute positioning will take it's values (left, top, right, bottom) from the edge of the browsers. So if you designed it for a smaller resolution, it will work fine, but on larger ones it will start to stick out because there's now bigger pixel differences from the edges of the browser to your content.

    Right behind the table, you have a IMG tag with no src, thats 340x431 pixels. It looks to be about the same size as your apDiv1. You could put your div where that empty IMG is, and it will align with every resolution (in theory).

  7. #7
    Join Date
    Sep 2008
    Posts
    4
    thank you for your help it was most appreciated

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles