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

    @Hassapiko
  2. Saumyojit

    HTML & CSS Background problemn

    @Mangini please help
  3. Saumyojit

    HTML & CSS Background problemn

    THE same thing is happening with my atom editor also <!DOCTYPE html> <html> <head> <style> div { height:50%; width: 50%; background-color: powderblue; } </style> </head> <body> <h2>Set the height and width of an element</h2> <div>This div element has a height of 200px and a width of...
  4. Saumyojit

    HTML & CSS Background problemn

    <!DOCTYPE html> <html> <head> <style> div { height: 200px; width: 50%; background-color: powderblue; } </style> </head> <body> <h2>Set the height and width of an element</h2> <div>This...
  5. Saumyojit

    HTML & CSS Background problemn

    <div style="width:500px; height:170px; background:blue"></div> this creates a blue box exactly what i wanted <div style="width:100%; height=50%; background:blue"></div> this did not create anything why so ?
  6. Saumyojit

    HTML & CSS Background problemn

    <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="description" content="This is an awesome website"> <meta name="author" content="Jit"> <meta name="keywords" content="HTML,Tutorial,Giraffe Academy"> <meta name="viewport" content="width=device-width...
  7. Saumyojit

    HTML & CSS Background problemn

    i gave you the two main files . I hope you understood my doubt . When i am using inline style attribute inside div tag then why no background color is not showing until i write some text inside div tag
  8. Saumyojit

    HTML & CSS Background problemn

    @Malcolm please help
  9. Saumyojit

    HTML & CSS Background problemn

    <div id="rt"></div> this line i have written in index.html file #rt { background-color: red; width:70%; height: 300px; } this part i have written in .css file . Output is showing the right : A red background color block is showing . NOw if i use inline css here, there is no blue...
Back
Top Bottom