www.webdeveloper.com
Results 1 to 4 of 4

Thread: PHP and CSS

  1. #1
    Join Date
    Sep 2004
    Location
    At the corner of WALK and DONT WALK
    Posts
    1,687

    PHP and CSS

    I know PHP can parse XHTML files with ease. Can it read a CSS file? I'm asking because I'm trying to create a PDF file from a webpage with PHP (Adobe is being useless).

  2. #2
    Join Date
    Jan 2011
    Location
    Canada
    Posts
    125
    I'm not quite sure if this is what you mean. But, if you want to call a css class with php, use something like:

    PHP Code:
    echo '<p class="yourCSSclass">Some text here</p>'

  3. #3
    Join Date
    Sep 2004
    Location
    At the corner of WALK and DONT WALK
    Posts
    1,687
    No, I'm asking if it can read something like:


    Code:
    			var.c{text-decoration:underline;}
    			var.t{font-weight:bold;}
    			table, th, td{
    				border-collapse:collapse;
    				border:1px solid black;
    				padding:5px;
    			}
    			td{font-family:monospace;}
    and parse it for information?

  4. #4
    Join Date
    Oct 2011
    Location
    Vero Beach, Florida
    Posts
    70
    Sounds like you are looking for something like this.
    space
    Orchid Technical Services
    Website Design/Development and Technical Support

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles