WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Solved Make a color textbox in HTML on Thu Jun 21, 2012 2:42 am

RSguideMaker

avatar
Registered Member
Registered Member
Hi Guest,

I have seen this on many websites now, but I still don't know how to do this! I have looked through their code using view source: but I still can't find the code!



How would I get boxes like the one above that I can put announcements in? (Where I want it is where I have written Textbox)

Thanks in advance,
~RSguideMaker

2Solved Re: Make a color textbox in HTML on Thu Jun 21, 2012 5:11 am

Mr.Joker

avatar
Mr. WebArtz
Mr. WebArtz
If you are making this as practice for HTML and CSS then just do this:


Code:
<html>
<style type="text/css">
h1 {
background-color:lightgreen;
padding:10px;
color:black;
align:center;
border:1px dashed #000000;
}
</style>
</head>
<body>
<h1>Here it is</h1>
</body>
</html>

For login form, well, someone allready gived you that here.

3Solved Re: Make a color textbox in HTML on Thu Jun 21, 2012 10:15 am

ankillien

avatar
Administrator
Administrator
Better to apply it a class name rather than applying style directly ti h1 tag.

4Solved Re: Make a color textbox in HTML on Thu Jun 21, 2012 2:07 pm

RSguideMaker

avatar
Registered Member
Registered Member
This is now solved. Administrators may now lock this thread. Thank you for your help Mr.Joker.

5Solved Re: Make a color textbox in HTML on Thu Jun 21, 2012 8:26 pm

ankillien

avatar
Administrator
Administrator
Solved | Locked

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum