The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Creating a border using CSS Reply To: Creating a border using CSS


anything with = needs to be in quotes.. example

href=”link” etc…

Sorry but that isn’t entirely accurate. Doing as gkp1987 did, with the unquoted single class values, is perfectly valid too in inline HTML. As are unquoted href, src, id, etc., values. Attribute values only need to be surrounded in straight quotes, or straight apostrophes, if they contain space characters (as is the case with multiple classes) tabs, new lines etc., or other special characters like " ' = >or <.

Check out the specs for more info