Solved

How to stretch header dynamically with changes is user screen resolution?

Posted on 2008-10-10
3
263 Views
Last Modified: 2011-10-19
Hello,

On my site (www.globexposure.net/index.php) i have a blue bar (see attached) with rounded corners that sits above and below my map.

At present i have defined the header bar in my code as follows:
<div id="navigation" style="background: url('images/navigation.jpg') no-repeat; width:100%"></div>

...however, the right hand end is flat - how do i get it to fit properly so that the rounded corner is visible?

Many thanks
footer.jpg
navigation.jpg
0
Comment
Question by:Daniish
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 42

Expert Comment

by:David S.
ID: 22685999
I use and recommend this rounded corners technique: http://www.456bereastreet.com/archive/200406/css_teaser_box_revisited/
0
 

Author Comment

by:Daniish
ID: 22686035
Its not really the rounded corners that are the issue - but how to set the % length so that no matter what size screen resolution the bars always look the same (albeit different lengths)...
0
 
LVL 42

Accepted Solution

by:
David S. earned 500 total points
ID: 22686278
Yes, I know that. Perhaps I should explain more: If you look at the demo of the  flexible variant ( http://www.456bereastreet.com/lab/teaser/flexible/ ) you'll see that it the technique works with a fluid width element.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn how to dynamically set the form action using jQuery.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question