+ Reply to Thread
Results 1 to 10 of 10

Thread: Quick CSS Question

  1. #1
    Twinkie is offline Banned Twinkie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Ft. Lauderdale, Florida
    Posts
    1,389

    Quick CSS Question

    Quick CSS Question (so I don't go nuts trying to figure it out): Why does the float mess up the html order of this page: http://supertwinkie.co.cc/project
    Last edited by Twinkie; 10-20-2009 at 08:14 PM.

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Quick CSS Question

    What do you mean by "html order"? Comment out the float directive and the image and caption just center themselves since the align=center of the containing div takes over.
    Nothing is always absolutely so.

  3. #3
    Twinkie is offline Banned Twinkie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Ft. Lauderdale, Florida
    Posts
    1,389

    Re: Quick CSS Question

    The order is that the addthis button is placed after the link boxes. When the float is applied, the link box somehow falls out of the div container. Why?
    Last edited by Twinkie; 10-20-2009 at 08:52 PM.

  4. #4
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Quick CSS Question

    Not really. I put borders around the divs....

    Float

    No Float
    Nothing is always absolutely so.

  5. #5
    Twinkie is offline Banned Twinkie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Ft. Lauderdale, Florida
    Posts
    1,389

    Re: Quick CSS Question

    How can I keep the link boxes 'fully' contained and display before the addthis button. I want it to look like it does without the float, but of course able to be put side by side.

  6. #6
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Quick CSS Question

    Do you want the addThis box to be directly below the image, like when there is no float?
    Nothing is always absolutely so.

  7. #7
    Twinkie is offline Banned Twinkie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Ft. Lauderdale, Florida
    Posts
    1,389

    Re: Quick CSS Question

    Yes.

  8. #8
    sourfacedcyclop's Avatar
    sourfacedcyclop is offline x10 Sophmore sourfacedcyclop is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    221

    Re: Quick CSS Question

    I would use clear:both;
    "Sanity is nothing but our interpretation of reality"

    http://tswebvisions.com - Portfolio

  9. #9
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Quick CSS Question

    Something like this?

    (sorry Admins, it is not in English. If you insist, I will try to provide a translation)
    Last edited by descalzo; 10-21-2009 at 10:01 PM.
    Nothing is always absolutely so.

  10. #10
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: Quick CSS Question

    Quote Originally Posted by descalzo View Post
    Something like this?

    (sorry Admins, it is not in English. If you insist, I will try to provide a translation)
    You should have used lorem lipsum!!!

    I don't know if it will change something, but maybe removing the page content from the h2 tag will help.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

+ Reply to Thread

Similar Threads

  1. Quick Liquid Physics Question
    By masshuu in forum Off Topic
    Replies: 3
    Last Post: 09-06-2009, 11:48 PM
  2. Hey - Quick Question
    By p4pfun in forum Introductions
    Replies: 1
    Last Post: 03-18-2009, 04:05 AM
  3. Quick Question Pertaining to Domains
    By toadeh in forum Free Hosting
    Replies: 3
    Last Post: 04-26-2008, 11:38 AM
  4. Just a quick question about domain/text.
    By Sanosuke in forum Free Hosting
    Replies: 6
    Last Post: 02-25-2008, 05:53 AM
  5. Quick Question
    By tdesouza in forum Free Hosting
    Replies: 3
    Last Post: 10-23-2007, 05:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers