Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Vragabond

    valign="middle"

    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
  2. Vragabond

    CSS - Drupal - Center Align View/Block/div - Preview with Firebug

    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...
  3. Vragabond

    Comments are preventing hover effect

    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...
  4. Vragabond

    CSS Dropdown Menu Alignment Problem with only IE7 and below

    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...
  5. Vragabond

    css menu works perfect in firefox but does not display in IE

    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...
  6. Vragabond

    Different formatting within same paragraph

    <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...
  7. Vragabond

    Problem with SESSION

    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
  8. Vragabond

    STROUPPER not working

    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...
  9. Vragabond

    HTTP Meta Refresh -&gt; 301 Redirect

    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
  10. Vragabond

    border displaying too hight

    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...
  11. Vragabond

    1px Border Issue

    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...
  12. Vragabond

    Spry menu in safari

    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...
  13. Vragabond

    spry menu bar question

    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...
  14. Vragabond

    Spry menu in safari

    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...
  15. Vragabond

    Firefox JS appearing outside CSS for some reason.

    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
  16. Vragabond

    trying to add background image

    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
  17. Vragabond

    trying to add background image

    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...
  18. Vragabond

    Help with PHP Variables and HTML Sytax...

    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
  19. Vragabond

    Print.css and auto scroll div

    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
  20. Vragabond

    changing the font size in the input tag

    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...

Part and Inventory Search

Back
Top