Jump to content

ifubad

Members
  • Posts

    158
  • Joined

  • Last visited

    Never

Everything posted by ifubad

  1. After going to that link, my system was infected by spyware/malware. Now I have to do a restore. Mofo!!! Since my system was turned on, the ONLY sites I went to was Amazon, a Bank site and that image link above using FF2. Keep getting pop ups and locked me out of the Start button and Quick Launch.
  2. Don't use frames. You can use php to dynamically generate the header and footer for all pages that requires it, using either an include, function or object.
  3. You can't center a floated element easily, try the following http://pmob.co.uk/pob/centred-float.htm Next x, instead of attaching a zip, just paste part of the code.
  4. Advantage of CSS include cleaner codes, smaller html pages and separation of content from layout. Making site-wide layout changes is simpler than tables method. Disadvantage is that older browsers may not support it well (eg. NS 4.7x is really bad), whereas even the most recent browsers are not yet 100% compliant - very close but still not one-hundred-percent.
  5. because in the end it isn't really our problem that the user can't view our page in older browser versions. I don't really recognize the cases mentioned here as valid arguments for us to keep supporting IE6, it looks more like being cases where people suffer from the ignorance of system admins, which can be frustrating enough, but still not our problem. If one ran a very busy restaurant and only want to setup 70 tables and chairs, because you feel that it would take too long to set up that extra 30, therefore unable to serve those extra 30 customers, then who's fault that becomes, since those potential customers are not going to bring their own tables and chairs, unless one don't care to lose the extra business that they could've had. It's up to the restaurant owner to provide that option, not the boss that is treating his employees to lunch, if one can't serve them, they'll just go somewhere else that can.
  6. The way to center your UL is to apply margin: 0 auto; on it, and remove the float left property from the ul itself, only the li elements should be floated. A UL is a block element, it'll take up the whole width of its container. If you remove float:left and set a width to it, then margin:0 auto will work, but only the ul will center and not the li, unless you know exactly what the width of the UL should be. If you do not know what the ul width should be(e.g. dynamic list menu), then you need to float:left the UL and li, put it in a div, and use this trick to center http://pmob.co.uk/pob/centred-float.htm
  7. If you leave everything as is right now, try adding the following to the div #content-holder width: 660px; margin: 0 auto;
  8. Take a look at this page using something like Firebug, which I did for someone, looks like something that you are after (spaces added to avoid SE indexing) http://www.wa im in g.com/pages/reproductions.php You cannot easily center a floated element. You can try putting the floated UL in a non floated fixed dimension div, and margin:auto the div. Here's another method for centering floated elements http://pmob.co.uk/pob/centred-float.htm
  9. Just tried loading the URL to see exactly what method they used, didn't show what your screen capture showed.
  10. if the browser supports css3 (css3 is not official yet, but some new browsers have already adopted some of the new features), then it will automatically render the css3 settings automatically without any download needed, it's written into the user agent. Never used dreamweaver. That's the fun part, trying to get it to look very similar in different browsers, worse is with IE as you know.
  11. The ladder of the two takes precedence. CSS2 does not support multiple bg images, CSS3 does http://www.css3.info/preview/multiple-backgrounds/ You cannot apply more than one bg to the body. if you want to use more than one with CSS2, create at least two DIVs that covers the body area and put a bg in each.
  12. No, it's this site here
  13. why are you using table to create your whole layout? table should only be used for tabular data, bot layout.
  14. IE has a bug with the a hover, you need to find a trigger point to get it to work, and it differs depending on what other css you are also using. From what I remember, you have to set the trigger directly in a:hover, not a:hover .classname. You can assign a class to the a tag and set it like so a.classname:hover If the font-size property does not work, you can try one of the following properties, and if they do not work, then you'll have to try other properties until you find one that does work. Google "ie hover css" for more info color: #any color hex float:none border:none
  15. Q&A 2: not naturally. But you can try the following span { position: relative; color: #FF0000; top: -50px; left: -50px; } <div> <img src="image.jpg" height="100px"><span>Text</span> </div>
  16. Keep dropfaith's suggestion, but also set the img containing div to display:inline <div style="display:inline" class="logo'> <img xxxxxxxxx> </div> Problem will be when the window is resized to a small enough size, since your layout is liquid, the image may get wrapped to the next line anyway.
  17. The problem was that google indexed a bunch of links that has properties and values in the url, that points to a php file, which the site has changed those values to something else, but the php filename has not change, google will not know that they should be removed from their index. I got it taken cared of by throwing in a header 404 if the properties are not correct.
  18. so far, only ff and safari have implemented this. It's unfortunate that IE won't just drop off the face of this earth, which will leave FF to be the dominant browser
  19. (all 4 corners) -moz-border-radius: 5px; border: 1px solid #000; (specific corners) -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px; -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px;
  20. you want to use bitmap or the css3 method?
  21. needs lots of work check out some site templates to see about getting ideas http://www.freewebsitetemplates.com/
  22. You have to specify the style of the border also and the length type used, like px for example, like so border: 30px solid #000000; /*shorthand method*/
  23. You can put the text in a <span> inside the <div>, and position or margin the <span> to whatever side of the background image <div><span>Text</span></div>
  24. When I was testing a revamped site, a lot of the URLs were product.php?title=xxxx which Google already indexed. Now, the variable (title=xxxx) have changed to (somethingelse=xxxx), if I try to Remove URLs (all links with title=xxxx) within Google, it is denied because they are still working links, where the page's php script will display it's own generic message and NOT as "Page not found". How to remove the URLs from Google's index?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.