Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. Saumyojit

    HTML & CSS Background problemn

    @LTomy <!DOCTYPE html> <html> <body> <h1>The select required attribute</h1> <p>The required attribute specifies that the user is required to select a value before submitting the form:</p> <form action="/action_page.php"> <select name="cars" id="cars" required> <option value="...
  2. Saumyojit

    HTML & CSS Background problemn

    @LTomy please explain
  3. Saumyojit

    HTML & CSS Background problemn

    Okay you are Indeed telling me this rule LoVe-HAte mnemonic for the order in which to specify link selectors (a:link, a:visited, a:hover, a:active). What about this part one user tried to explain in stack. What does the user is saying? I think he gives a more intuitive logical explanation
  4. Saumyojit

    HTML & CSS Background problemn

    @LTomy
  5. Saumyojit

    HTML & CSS Background problemn

    I think I don't know some concept in css . That code in post 41 I had wrote keeping in mind for styling unvisited link and what happens when mouse hovers over unvisited link only(only these two) I don't want to style what will happen if I visit the link. Now it seems that the code that I wrote...
  6. Saumyojit

    HTML & CSS Background problemn

    <style type="text/css"> a:hover { color:green; } a:visited { color:eek:range; } </style> <body> <a...
  7. Saumyojit

    HTML & CSS Background problemn

    You are by far missing the point. <!DOCTYPE html> <html> <head> <title>Foo</title> <style type="text/css"> a:hover{ color: green; } a:link { color: red; } </style> </head> <body>...
  8. Saumyojit

    HTML & CSS Background problemn

    I still don't understand why hover then link does not work .all they say is that the cascading rules will hide the 'color' property of the A:hover rule.
  9. Saumyojit

    HTML & CSS Background problemn

    <style type="text/css"> a:hover{ color: green; } a:link { color: red; } </style> Why this does not work? What does he say by the above line? When we write link then hover then both selector...
  10. Saumyojit

    HTML & CSS Background problemn

    asking out of curiosity Now the doubt is new please explain the answer of user31782 in https://stackoverflow.com/questions/7371732/why-does-foo-alink-foo-avisited-selector-override-ahover-aactive-s
  11. Saumyojit

    HTML & CSS Background problemn

    @LTomy
  12. Saumyojit

    HTML & CSS Background problemn

    <!DOCTYPE html> <html> <head> <title>Foo</title> <style type="text/css"> a:link { color: red; } a:hover{ color: green; } </style> </head> <body> <div class="foo">...
  13. Saumyojit

    HTML & CSS Background problemn

    Yes I got it. But why only height is necessary?
  14. Saumyojit

    HTML & CSS Background problemn

    Height is a necessary property that has to be given for any empty block elements to be visible on the browser. Width can be given or not. It is not necessary right. @LTomy Am I right? Is it something to do with inline and block elements?
  15. Saumyojit

    HTML & CSS Background problemn

    I found out the solution to the for part . I needed to write the whole text in a complete single line then only &nbsp works.
  16. Saumyojit

    HTML & CSS Background problemn

    I haven't gone so deep into CSS tutorial . I was unaware of the pre value of the white space . But I was reading about HTML entities where I saw nbsp . In the video that method works fine but why not in my case it is not working. My editor is atom and browser is Chrome. As for the div tag <div...
  17. Saumyojit

    HTML & CSS Background problemn

    @LTomy Why writing like this <div style="background:blue; width:200px;"></div> does not create anything . But replacing width with height creates a block. So i was seeing this video about nbsp being used to force non line break . So if this is my text suppose inside body element i have...
  18. Saumyojit

    HTML & CSS Background problemn

    absolutley right
  19. Saumyojit

    HTML & CSS Background problemn

    u are right https://stackoverflow.com/questions/47925332/div-height-by-percentage-doesnt-works-on-chrome-63
  20. Saumyojit

    HTML & CSS Background problemn

    One of my seniors told that suppose the webpage height is 500px then the div element if its height is 50 percent then it should be taking 50 percent of the full web page height? is he right?
Back
Top Bottom