Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: How to Wrap an Unordered List Around an Ad Block / Image?

  1. #11
    LogicFlux is offline Newbie Net Builder
    Join Date
    Dec 2008
    Posts
    47
    Thanks
    13
    Thanked 17 Times in 17 Posts
    Quote Originally Posted by Charles View Post
    Nope, I added in the clear:both; just now. What I wanted was some padding on the left side of the <ul>, but I couldn't work it out... So...
    Yeah I pretty much just always break it up in that situation and start the list below the floated element. But if you wanted was some padding on the portion of the list to the right of the ad element and not padding on the bottom portion of the list that is below the ad element, you could probably do it with javascript by finding li elements with x & y positions > xx and < yy(these are set by you) respectively, then look for some with < xx and > yy, those are the ones below the ad, add padding attributes to the li's in the first group. I'm not sure how well this would work or how complicated it would become with a fluid layout but I almost never use them.

    You could maybe do it with html/css but that's over my head. And doing it with javascript wouldn't be worth it, imo.
    Nobody's gonna care but other designers.

  2. Thanked by:

    Charles (30 December, 2008)

  3. #12
    Charles's Avatar
    Charles is offline Senior Net Builder
    Join Date
    Dec 2008
    Location
    On the Bike
    Posts
    1,211
    Blog Entries
    5
    Thanks
    311
    Thanked 311 Times in 212 Posts
    Quote Originally Posted by LogicFlux View Post
    Yeah I pretty much just always break it up in that situation and start the list below the floated element. But if you wanted was some padding on the portion of the list to the right of the ad element and not padding on the bottom portion of the list that is below the ad element, you could probably do it with javascript by finding li elements with x & y positions > xx and < yy(these are set by you) respectively, then look for some with < xx and > yy, those are the ones below the ad, add padding attributes to the li's in the first group. I'm not sure how well this would work or how complicated it would become with a fluid layout but I almost never use them.

    You could maybe do it with html/css but that's over my head. And doing it with javascript wouldn't be worth it, imo.
    Nobody's gonna care but other designers.
    Thanks a dozen for your time!

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Apple to wrap digital books in FairPlay copy protection
    By imported_Daniel in forum General Chat
    Replies: 2
    Last Post: 16 February, 2010, 01:40 AM
  2. How to block certain countries
    By Newbie191 in forum Web Proxies
    Replies: 5
    Last Post: 1 December, 2009, 16:11 PM
  3. Replies: 0
    Last Post: 27 October, 2009, 11:29 AM
  4. How to block this proxy ?
    By Szise in forum Web Proxies
    Replies: 3
    Last Post: 24 February, 2009, 19:15 PM
  5. Snuggie or Toasty Wrap?
    By stickycarrots in forum General Chat
    Replies: 4
    Last Post: 25 January, 2009, 03:40 AM

Tags for this Thread

Bookmarks

Posting Permissions

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