Check Stu Nichols' simple method for centering an element within its container. Stu does it with pictures, but it should work with any container.
http://www.cssplay.co.uk/menu/centered.html
Do something about world cancer today: Comprehensive cancer control information at PACT
In CSS, you center by applying auto left and right margins to the block level element that you want centered. Read in more detail here: http://www.maxdesign.com.au/articles/center/
For you, you would need to apply margin: 0 auto; (shorthand for automatic margins on left and right and 0 margin...
I believe you're testing this in IE. IE will render a page in non-standards mode, as soon as there is something (even non-rendered) in the code before the doctype. That means that in quirks mode, your hover does not work and in standards mode, your images get cut off. Unless you have to...
It's a bit hard to fully test, as I am unable to make quick changes in IE7, but I would attribute the problem to the 'inline-block' style of your parent li elements. IE7 treats the end an element (like with inline elements) as a starting point for the child element, whereas other browsers use...
The most common culprit for IE's misbehaving is the lack of Doctype, which is something that is part of your HTML, rather than CSS. Without seeing your HTML, it's hard to say what could be throwing IE off. Also, you did not say, which IE we're talking about. IE7 will have problems with child...
<p class="pShade"><span>My</span> text here</p>
<p class="pShade"><strong>My</strong> text here</p>
<p class="pShade"><em>My</em> text here</p>
These are some options to highlight one word in a paragraph. You can use css to style each element the way you want it to look.
Do something about...
Like the error states, the name of the function is strt[!]o[/!]lower, whereas you have mistyped as strtlover.
Do something about world cancer today: Comprehensive cancer control information at PACT
I would advise a different approach, if the job title is something that cannot be changed by the user -- they have to pick one of the suggested options. Then use the select field, rather than input field:
<p> Job Title Code (GM, MGR, PGM, or PM)
<select name="jobtitle">
<option value="There...
I read it cannot be done.
As a side note, Google showed the above quoted page as the first hit when I searched your exact text '301 redirect using a meta refresh redirect'.
Do something about world cancer today: Comprehensive cancer control information at PACT
It is because of the collapsing margins. The concept is not that easy to understand, but to dumb it down for your example, a child element with a margin merges the margin with its parent. That means that the <p> element in the carriers text margin gets merged with the splashcondense element...
It's best to add them margins of -1px on top and left. This way they will overlap the borders of the previous element, making it look like a single border. Other way is to use a table (this might not be a good idea if you want to dynamically add different number of images, as table does not...
I do not have Safari on this machine, but it does look correct now on my Firefox (before, Logistics was on a new line). I would advise you to keep enlarging the menu space and see if it helps. Like I said, with fonts and different browsers/OSes, you cannot be too precise, as there might be...
Your list item elements are 40px high (as per SpryMenuBarHorizontal.css). Your links (a) inside these items are much taller though (35 px in height plus 15px margin on top and 5px margin on bottom makes up 55px as per SpryMenuBarHorizontal.css again). So, every menu option is 55px tall, but is...
It puts the logistics on the next line because it doesn't fit the previous one. That is how float works. You're limiting your menu to 655px and on my machine it needs at least 658px to fit all the items. I would recommend you increase it even beyond that, since it doesn't seem to bother the...
I cannot see in stock in either FF or IE or Opera. Chrome and Safari are having difficulty today, so I cannot check with those two.
Do something about world cancer today: Comprehensive cancer control information at PACT
Still, it is better to have one background repeat across the entire page than to stitch together several backgrounds. Both maintenance and bandwidth wise.
Do something about world cancer today: Comprehensive cancer control information at PACT
What you're doing is a bad idea in any circumstance. Here is how you should do it:
1. Change wrapper background color to be something tan, like the image background. This will help if the background image does not load for some reason.
2. Remove the logo from the wrapper background image...
Are these variables used inside a function? Check variable scope in the PHP documentation.
Do something about world cancer today: Comprehensive cancer control information at PACT
It seems you could have another CSS affecting your output. The method described by feherke should work in a clean page.
Do something about world cancer today: Comprehensive cancer control information at PACT
By default, input boxes height is determined by the font size. If you want to have different height of the box than the text, then you should play with height, line-height, or padding on top and bottom for the input style. I believe any of those three should give you what you want.
Do...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.