Sponsored Content
Full Discussion: HTML down, CSS help, ahhhh
Top Forums Web Development HTML down, CSS help, ahhhh Post 302582762 by N-Training on Sunday 18th of December 2011 04:27:59 AM
Old 12-18-2011
HTML down, CSS help, ahhhh

I am having some problems. I have been able to learn HTML, but when I try and encode CSS, nothing happens, what is the major issue here.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <title>MY CSS</title>
    <style type="text/css">
    <!--
    <body {
        font-family: verdana, arial, sans-serif;
    }
    h1 {
      font-size: 120%
    }
    a {
      text-decoration: none;
    }
    p {
      font-size: 90%
    }
    -->
    </style>
    </head>
    <body>
      <h1>Page Uno</h1>
      <p>writing for this sample</p>
<a href="https://www.unix.com">link</a>.</p>
    </body>
</html>


Last edited by Scott; 12-18-2011 at 09:42 AM.. Reason: Code tags, please...
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Safe_mode !!! Ahhhh

Hi, Can anyone please please, help me disable LOCAL value safe_mode. In the php.ini safe_mode = Off When I launch, a phpinfo page, LOCAL value remains on and MASTER remains off. I have searched elsewhere and have tried to add a line on code in the httpd.conf , restart Apache sitll no... (5 Replies)
Discussion started by: peachesboy
5 Replies

2. Web Development

On Css

<html> <head> <style> div.box {width: 300px; height: 200px; padding: 30px; font: 46 pt times new roman;} </style> </head> <body> <div class="box" style=" filter": progid:DXImagetransform.Microsoft.Alpha (Opacity=100, FinishOpacity=0, Style=1, StartX=0, FinishX=0,... (0 Replies)
Discussion started by: N-Training
0 Replies

3. Web Development

CSS frameworks

I have been reading up on CSS frameworks, to see if it could be useful for an intranet that I am helping to build, but the true purpose does not become clear to me. What circumstances would the deployment of a CSS framework be useful in? What does a CSS framework do that a CMS template cannot do? (1 Reply)
Discussion started by: figaro
1 Replies

4. Web Development

Optimizing JS and CSS

Yes. Got few suggestions. - How about minifying resources - mod_expires - Service workers setup https://www.unix.com/attachments/web-programming/7709d1550557731-sneak-preview-new-unix-com-usercp-vuejs-demo-screenshot-png (8 Replies)
Discussion started by: Akshay Hegde
8 Replies

5. Web Development

Web development learning thread(Javascript, HTML, CSS, angular, vue.js).

Hello All, After getting inspired from Neo, I have started a bit of JS learning these days. Whenever I learn something I will try to post it here(as of now my learning is NOT exactly bookish where I am going chapter by chapter etc, it could be more like small-small project vice kind of), I... (25 Replies)
Discussion started by: RavinderSingh13
25 Replies
CSS::DOM::Rule::Media(3pm)				User Contributed Perl Documentation				CSS::DOM::Rule::Media(3pm)

NAME
CSS::DOM::Rule::Media - CSS @media rule class for CSS::DOM VERSION
Version 0.14 SYNOPSIS
use CSS::DOM; my $media_rule = CSS::DOM->parse( '@media print { body { background: none } }' )->cssRules->[0]; # OR: use CSS::DOM::Rule::Media; my $media_rule = new CSS::DOM::Rule::Media $parent; push @{$media_rule->media}, 'print'; $media_rule->insertRule('body { background: none }') DESCRIPTION
This module implements CSS @media rules for CSS::DOM. It inherits from CSS::DOM::Rule and implements the CSSMediaRule DOM interface. METHODS
media Returns the MediaList associated with the @media rule (or a plain list in list context). This defaults to an empty list. You can pass a comma-delimited string to the MediaList's "mediaText" method to set it. cssRules In scalar context, this returns a CSS::DOM::RuleList object (simply a blessed array reference) of CSS::DOM::Rule objects. In list context it returns a list. insertRule ( $css_code, $index ) Parses the rule contained in the $css_code, inserting it the @media rule's list of subrules at the given $index. deleteRule ( $index ) Deletes the rule at the given $index. SEE ALSO
CSS::DOM CSS::DOM::Rule CSS::DOM::MediaList perl v5.10.1 2010-12-10 CSS::DOM::Rule::Media(3pm)
All times are GMT -4. The time now is 05:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy