Creating a colored line across the size of the window?

How would I do this? The subject isn't very explained, so for an example: the black line at the top of the footer.

Thanks!

-------------Problems Reply------------

Do you mean <hr />?

You can use CSS to set the colour and size, e.g.

hr {
height:25px;
background-color: #00FF00;
border:0;
}

#footer {
width: 100%;
height: 200px;
border-top: 1px solid #000;
}

Category:html Views:0 Time:2010-06-11
Tags: html xampp

Related post

  • as3: how to create a single line text of size close to a given height? 2011-06-22

    i am given a rectangle of some height and width, i want to fill this rectangle with some dummy single line text. the height and width of text should be close to that of given rectangle. basically, i want the text to full occupy a given rectangular ar

  • Can JavaScript remove all toolbars, address line and set size of the window? 2010-03-01

    I would like to run a browser (Internet Explorer) from a command prompt using a specific web address. As a result of that I would like to see a simple IE window without toolbars and address line. I wonder if JavaScript is able to control "parameters"

  • How to create a status line with ttk? 2010-08-25

    How do you create your status line at the bottom of your window? An inactive entry does not look very nice. What other options are there? Is possible to integrate a progress bar which is visible only on demand? (I am using tk and ttk from within R.)

  • In Outlook> Contacts>General>Notes Field, how can I Setup-Create NEW Defaults for Font Type, Size, Alignment, & Line Spacing? 2012-07-14

    [System - Windows 7 Ultimate 64-bit & Office 2010 32-bit] In Outlook>Contacts>General>Notes Field, how can I Setup-Create NEW Defaults for Font Type, Size, Alignment, & Line Spacing? For this field, I want them to be: Times New Roman

  • matplotlib: Controlling pie chart font color, line width 2009-12-16

    I'm using some simple matplotlib functions to draw a pie chart: f = figure(...) pie(fracs, explode=explode, ...) However, I couldn't find out how to set a default font color, line color, font size – or pass them to pie(). How is it done? ------------

  • PDF conversion problem with colored lines 2014-06-27

    I have FM9 and am using it in the unstructured mode. For my manuals that mix two papers sizes I must Print Book instead of Print PDF. When I do this my colored lines and arrows and colored text for hyperlinks turn black in the PDF. Any suggestions ho

  • Create a colored bubble/circle programmatically in ObjectiveC and Cocoa 2008-12-09

    Can anyone guide me in the correct way to build a colored bubble/circle programmatically? I can't use images as I need it to be able to be any color depending on user interaction. My thought was maybe to make a white circle image and then overlay a c

  • How do I join two different colored lines using Quartz? 2010-08-26

    So according to Apple's Quartz 2D Programming guide, there are a number of predefined line join styles when connected line segments in your path meet at a corner (Miter Join, Round Join, Bevel Join). I'm looking to do this with different colored line

  • MATLAB: How to change color of imhist and size of window? 2010-10-21

    I have: img = imread('pic.jpg','jpg'); r = img(:,:,1); g = img(:,:,2); b = img(:,:,3); subplot(3,1,1); imhist(r); subplot(3,1,2); imhist(g); subplot(3,1,3); imhist(b); How can I change colors of the histogram to Red, Green and Blue? How can I change

  • Advices to create a command line text editor in .NET 2011-02-27

    I want to create a command line text editor with .Net. I always do GUI applications so I'm a little lost about whole deal with this task. One of the first things I need to know is how create an scrollable editor area. A place where I can write whatev

  • How to draw a colored line into an greyscale UIImage? 2011-06-28

    I want to draw a colored line into or above an greyscale image. The following code will do this, but the problem is that the UIImage is transformed into an RGB-image but this results in an ugly representation of my greyscale image. At the moment i us

  • How to create a colored rectangle in OpenGl ES? 2011-06-29

    I might want to start learning OpenGL ES. I'm curious about how much code it takes to create a colored rectangle. I fear it takes like 50 lines of code to do this. Does anyone have a link or code snippet at hand which shows this? --------------Soluti

  • How to create a file with ANY given size in Linux? 2011-11-01

    I have read this question: How to create a file with a given size in Linux? But I havent got answer to my question. I want to create a file of 372.07 MB, I tried the following commands in Ubuntu 10.08: dd if=/dev/zero of=output.dat bs=390143672 count

  • How to plot a gradient color line in matplotlib? 2011-12-14

    To state it in a general form, I'm looking for a way to join several points with a gradient color line using matplotlib, and I'm not finding it anywhere. To be more specific, I'm plotting a 2D random walk with a one color line. But, as the points hav

  • Creating a trend line from data set SQL 2012-04-06

    The code below returns the number of resolved tickets and the number of opened tickets for a period (period is YYYY,WW) going back a certain number of days. For example if @NoOfDays is 7: resolved | opened | week | year | period 56 | 30 | 13 | 2012 |

  • "http://answers.microsoft.com/en-us/ie/forum" <<<--------- how do I make this line bigger/font size is so tiny I can barely read the address line of inet exp, thanks! 2012-12-01

    "http://answers.microsoft.com/en-us/ie/forum" <<<--------- how do I make this line bigger/font size is so tiny I can barely read the address line of inet exp, my right click options are also really small, can I change these? --------------So

  • What to do to change materialized view column size when under line table column size changed? 2012-12-20

    What to do to change materialized view column size when under line table column size changed? This is oracle 11gR2 db on Linux. I tried recompile the MV, it didn't work. Please do not auto migrate this question to another database site, I want to sta

  • On a chart: draw multiple colored lines on the same graph. 2013-08-02

    Chart construction: I need to create a chart that shows several differently colored lines on the same x and y axes. --------------Solutions------------- You can get different coloured lines by plotting multiple series in the chart. For an overview on

  • How to create a file with a given size in Linux? 2008-09-26

    For testing purposes I have to generate a file of a certain size (to test an upload limit). What is a command to create a file of a certain size on Linux? --------------Solutions------------- dd if=/dev/zero of=upload_test bs=file_size count=1 Where

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.128 (s). 11 q(s)