dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Element Widths: Is there a way to mix variable and pixel value

  1. #1
    Join Date
    Feb 2006
    Posts
    13

    Element Widths: Is there a way to mix variable and pixel value

    Is there any way to make an element that has a percentage based width until it reaches a defined minimum width?

    I'm working on a custom Joomla template and while % based columns are nice, I strongly dislike what happens when they're viewed in browsers below 800x600 resolution. Right now I'm leaning towards dumping the expanding columns and making them absolute-width. However I like how the expanding design fills up large/widescreen resolutions.

    About the only thing I can think of is use of if statements with java or php.

    Apologies if this has been covered before, I tried a search and came up with nothing.

  2. #2
    Join Date
    Feb 2005
    Posts
    345
    thereŽs a min-width property in css. google for it and youŽll soon find out that ie canŽt handle it (dunno if not properly or not at all). but there are work-arounds. just google it.

    greetz

  3. #3
    Join Date
    Feb 2006
    Posts
    13
    Thanks for the speedy reply, I figured it was something simple like that.

    Also, manditory "whine about IE's crappy support of CSS"

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