HTML - CSS


  1. » MarPlo
    I have a parent Div and another Div inside, as child element.
    The parent Div has set a background-color property, and i want to have the child Div...
    Last post » Admin
    The default value for background-color propety is transparent , not the none .
    Also, the background property is not inherited by children by...


  2. » MarPlo
    I'm trying to center a html 5 canvas using css margin properties.
    This is the code, but it doesn't work.
    <!doctype html>
    <html lang= en...
    Last post » Admin
    Make the canvas a block-level element, with: display: block; (by default, canvas is an inline element).
    This code works:
    <!doctype html>...


  3. » Marius
    Hello
    I'm using this simple html code:
    <html lang= en >
    <head></head>
    <body>
    <a href= # title= This is some info for...
    Last post » Admin
    You cannot hide /prevent the original title behavior with CSS only.
    But you can change the title attribute to e.g. data-title in your HTML, then...


  4. » Marius
    I have a parent div and three children. i want one to float left of parent, one to be in exact center of parent, and one to float right of parent....
    Last post » Admin
    In your HTML, move the right-floated element before the element you want it to float around.
    <div id= board_container >
    <div id= board1...


  5. » Marius
    Hello,
    In a column in the html table I have a text with reference to an image. How do I make when the mouse is over that column to appear a tooltip...
    Last post » Admin
    Hi,
    It can be made with HTML and CSS.
    The data in that column is added into a Div, together with the image for the tooltip. In CSS is defined the...


  6. » Marius
    I have created an unordered list, and I want to remove the bullets.
    Is it possible to have a list without bullets?
    Last post » MarPlo
    Hi
    You can remove bullets with a CSS style like this:
    ul {
    list-style-type: none;
    }
    You might also want to add padding:0; margin:0; to that, if...


  7. » Marius
    Hi
    Which is better to use:
    <input type= button />
    Or:
    <button></button>
    What are the main differences between the two, if any?...
    Last post » Admin
    Hi
    From what i found on the internet.
    You can put html into a <BUTTON> tag, for example an image, or other tags, and it is much easier to...


  8. » Marius
    When I want to refer to some part of a webpage with the example.com/page#Mark -method, should I use:
    <h3><a name= foo />Mark...
    Last post » Admin
    Hi
    In HTML5 the <a> element has no name attribute.
    My vote is for ID.
    <a href= #Mark >Link Text</a>
    ... Content ...
    <span id=...


  9. » Marius
    Hello
    I have some DIVs added one after the other, positioned inline, when one of them changes its contents, it appears positioned below the other....
    Last post » MarPlo
    Hi
    Try set in CSS: max-height and max-width to those DIVs.
    And, you can test these css properties to see which is better for what you want:...

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum