dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: WebJoel

Page 1 of 20 1 2 3 4

Search: Search took 0.12 seconds.

  1. Replies
    3
    Views
    1,660

    All browsers (except compliant ones) like to...

    All browsers (except compliant ones) like to place their own value for every element for padding, margin, border.

    Using the following code as the FIRST line of your CSS resolves this issue:

    *...
  2. Thread: Help With Divs

    by WebJoel
    Replies
    1
    Views
    1,046

    Can you show all the code for this, not just the...

    Can you show all the code for this, not just the relevant CSS.
    I can think of several methods to stack the navbar on top of the banner image, but mostly by positioning. I'd rather the flow be...
  3. Well the !DOCTYPE is Transitional so it probably...

    Well the !DOCTYPE is Transitional so it probably is correct if the coder intends to use presentational and deprecated elements, but it oh-so looks like how some blog software creates code for posts. ...
  4. Thread: Hi Mam/Sir

    by WebJoel
    Replies
    3
    Views
    1,646

    You will learn far more, faster and as a...

    You will learn far more, faster and as a reference for years to come, with Elizabeth Castro's book "HTML5 & CSS3 Visual QuickStart Guide (7th Edition)"

    Have this and in no time at all, you'll be...
  5. Does this: .nav { position: relative; top:...

    Does this:

    .nav {
    position: relative;
    top: -166px;
    left: 670px;
    }

    give you problems? A relatively-positioned element that positioned negatively or positively still 'occupies' the spatial...
  6. Thread: Lost padding!

    by WebJoel
    Replies
    4
    Views
    1,789

    Do you mean to say add:

    Do you mean to say add:
    <div style="width: 20px; display: inline-block"></div>
    after EACH image? Superfluous use of content elements for pure design is a waste of code, and is code bloat.

    Why...
  7. Replies
    1
    Views
    1,316

    Did you already solve this, -I see Google AdSense...

    Did you already solve this, -I see Google AdSense ("AdChoices") ads.

    Noted some errors in your code though, like:

    <ul class="submenu">
    <a...
  8. Replies
    3
    Views
    2,101

    Generally, a "wrapper" (DIV, etc.) set to...

    Generally, a "wrapper" (DIV, etc.) set to width:100&#37; and then you put your content DIVs within this, and position them accordingly. A 'fluid width' element within the WRAPPER will adjust for the...
  9. Replies
    30
    Views
    4,387

    Your first CSS rule should always be using the...

    Your first CSS rule should always be using the Universal Selector, below:

    * {padding:0; margin:0}

    This strips proprietary padding and margin (from IE,) making most of IE's blunders correct and...
  10. Got code? Or, URL? :-)

    Got code? Or, URL? :-)
  11. Thread: Meta tags

    by WebJoel
    Replies
    2
    Views
    1,203

    One of the BEST ways is to include the name of...

    One of the BEST ways is to include the name of your site in the TITLE. This upper-level element is heavily parsed for meaningful description, and factors heavily into SEARCH results.

    Avoid use of...
  12. Thread: Html

    by WebJoel
    Replies
    2
    Views
    1,350

    Positioning images can be done. -Is there going...

    Positioning images can be done. -Is there going to be any text flowing around the image, or just images within a larger container? I am going to assume that there is a container (you cited TABLEs but...
  13. Replies
    3
    Views
    2,016

    display:block; forces a newline for the...

    display:block;

    forces a newline for the list-items. (must run, -but this might help)
  14. Replies
    4
    Views
    2,033

    You are aware that your CSS is LARGER than your...

    You are aware that your CSS is LARGER than your HTML? That is a bit defeatist.

    I was looking at the CSS and you've got some "position:absolute" and negative positions going on... this can be a...
  15. Thread: Marquee

    by WebJoel
    Replies
    3
    Views
    3,209

    "marquee" is deprecated and has not been in favor...

    "marquee" is deprecated and has not been in favor for over a decade. Why would you want to using this, forcing you to also use a transitional !doctype?

    Would you not rather use a scrollbox instead?
  16. Replies
    2
    Views
    1,392

    I believe that the W3C specification for meta...

    I believe that the W3C specification for meta data is comma-separated (word,word2,word3,etc.)
    I don't consider it to be too critical either way. Some social-sharing site mandate 'whitespace'...
  17. Replies
    3
    Views
    1,303

    You probably should not use negative z-index....

    You probably should not use negative z-index. Other solutions are better. You are using 'a script' banner? There is a "WMODE" line that can be added to cause transparency on the script (thus removing...
  18. Gee ...I can only think of illegal reasons why...

    Gee ...I can only think of illegal reasons why one would want to do something like this. :(
  19. Replies
    3
    Views
    3,335

    The default position of ALL elements is...

    The default position of ALL elements is "position:static;"

    I would try to make the TD be "position:relative;" and put a DIV inside of that, and make it be "position:absolute;" and therefore, it...
  20. Thread: Page Position

    by WebJoel
    Replies
    1
    Views
    1,247

    Your first link is not working.. Sound to me...

    Your first link is not working..

    Sound to me that even though the width of the scrollbar is set to 100&#37;, it is 100% of what? The container? The body? You need to make whatever parent element that...
  21. Replies
    2
    Views
    2,004

    I am thinking that you will need a javascript...

    I am thinking that you will need a javascript add-on for this. It will only work on browsers that have javascript, and for browsers that do not, the effect is omitted. Perhaps it can be done in...
  22. Replies
    3
    Views
    1,297

    h2 a:hover { border-color:blue; display:block;...

    h2 a:hover {
    border-color:blue;
    display:block;
    }

    should do it. It forces the inline-element "a" to expand to 100&#37; of the parent width and the pseudo-class ":hover" works accordingly.
  23. Replies
    5
    Views
    3,768

    The default 'position' for all element is...

    The default 'position' for all element is "position:static;" so to do z-index, you need to change the position to "position:relative;" and then, add the z-index:value;

    Noteworthy: One should...
  24. Replies
    10
    Views
    11,136

    IE incorrectly renders what it thinks the web...

    IE incorrectly renders what it thinks the web author attempted to create. Firefox correctly renders the code, per W3C. It is almost always IE that is wrong, -despite IE showing what you think is...
  25. Replies
    2
    Views
    2,066

    looks good ...should be excellent.

    looks good ...should be excellent.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles