Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Aug 2008
    Location
    India
    Posts
    88
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Alignment problem

    How can i align a <ul><marquee><ul>(all contained in a div) in a straight line?
    I am using a div which contains a ul(floated left) followed by a marquee and finally another ul(floated right)
    Problem is that since marquee is a block level element,it causes a line break between it and ul..
    How can i align all three in a straight line????
    Last edited by satish_j; 01-06-2010 at 07:44 AM.
    In love with PHP,Mysql & Javascript

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    How can i align a <ul><marquee><ul>(all contained in a div) in a straight line?
    You can't expect any standard output from some invalid markup. Validate and fix your markup first.
    Problem is that since marquee is a block level element
    marquee is a deprecated element, so you shouldn't use it.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Aug 2008
    Location
    India
    Posts
    88
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by abduraooft View Post
    You can't expect any standard output from some invalid markup. Validate and fix your markup first.
    I think i made my point clear in the query itself.I didn't provided the markup i used.And i expected an idea(and not the markup) to achieve the same.If you dont know the sol,do not reply foolishly just to increase your rep count..
    In love with PHP,Mysql & Javascript

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Quote Originally Posted by satish_j View Post
    I think i made my point clear in the query itself.I didn't provided the markup i used.And i expected an idea(and not the markup) to achieve the same.If you dont know the sol,do not reply foolishly just to increase your rep count..
    My apologies...
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #5
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,747
    Thanks
    22
    Thanked 1,838 Times in 1,822 Posts
    Quote Originally Posted by satish_j View Post
    I think i made my point clear in the query itself.I didn't provided the markup i used.And i expected an idea(and not the markup) to achieve the same.If you dont know the sol,do not reply foolishly just to increase your rep count..
    Trust me sat, abduraooft knows the solution and you're the foolish one for dismissing him that way.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    ckeyrouz (01-06-2010)


  •  

    Posting Permissions

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