The How-To Geek Forums Have Migrated to Discourse


How-To Geek Forums / Geek Stuff

(Solved) - Creating an ID for a <div> ----- CSS e.g <div id="example">

(3 posts)
  • Started 3 years ago by djhull3917
  • Latest reply from djhull3917
  • Topic Viewed 338 times

PARTNER SPOTLIGHT

Recommended: Clean Your Mac the Easy Way with CleanMyMac 3

If you want to clean up your Mac the easy way, CleanMyMac is a great tool to get the job done easily, and it will even keep your computer clean automatically.

Unlike the competition, it also includes great tools like a Clean Uninstaller, to get rid of applications and clean up the junk that they leave behind. All with the click of a button.

Download CleanMyMac 3 for Free Today

Posted yesterday 
Top
djhull3917
Posts: 112

for example

<html>
<head>
<style type="text/css">
h1
{
lalalalallaal;
lalalalalallal;
lalalalalalalal;
}
div id="example"
{
color:snklcn;
width:knklfn;
height:snkdkflnd ;
}

</style>

</head>

<body>

<div id ="example">
<h1>wdklnkl</h1>
</div>

Thanks Guys !

Posted 3 years ago
Top
 
djhull3917
Posts: 112

Then have all the css elements in the HTML

Posted 3 years ago
Top
 
djhull3917
Posts: 112

PROBLEM SOLVED,,,,, A CODING ISSUE TYPO (EXTRA SPACE)

Accepted Answer · Posted 3 years ago
Top
 



Topic Closed

This topic has been closed to new replies.