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 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Text placement - which method is better?

    I want to have an image go down the left side of my page, with text to the right of it. I have been guided to faux columns and understand the priciple there.

    My question is this - which is easier/better?

    -Use CSS to set up faux columns to get the image in the left column [and repeating] and the text in the right column

    -Use CSS to set the side strip as my background image and augment the image to have white space to the right - and in the same CSS document, use CSS to set the text margin. So I'm essentially just working with one column then.


    My only concern is that the side strip image is 113 pixels long [which would repeat]. If I make it, say, 113 pixels long and 800 pixels wide [with most of that white so the text can display] I'm inviting longer download times for my page, right, as that file is bigger?

    I'd appreciate any advice [or code ;-)] which might help. Thank you!

  • #2
    Regular Coder
    Join Date
    Jun 2008
    Location
    SE Wisconsin, US
    Posts
    222
    Thanks
    1
    Thanked 20 Times in 20 Posts
    I would choose your second option because it will be simpler to maintain. 800x113 may not be that big of an image depending on content, compression, and color depth.
    Milwaukee Web Designer and SEO Milwaukee Firm specializing in ASP.Net, C#, VB.Net, SQL Server and Access.


  •  

    Posting Permissions

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