- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 16
- Posts with Upvotes
- 14
- Upvoting Members
- 14
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
131 Posted Topics
Both [CODE]<center>[/CODE] and [CODE]align="center"[/CODE] have been depreciated in the newer html versions. Go with : [CODE]<table style="margin:0 auto; text-align:center;"[/CODE] It's valid to html5. Okay - posted then saw the reply. What you have is a background graphic in a table. Add [CODE]; background-repeat:no-repeat; background-position:top center[/CODE] after the background-image in the …
Divs are 'divisions' - blocks that can be used to format a page and hold like elements. There is frequently no need to put each graphic in its own div as a p may do as well. An 'id' acts as an anchor as well as a css identifier. Id's …
This: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="$abbr_lang" lang="$abbr_lang"> <head> <title>$linktitle</title> <meta http-equiv="Content-Type" content="text/html; charset=$yymycharset" /> <link rel="stylesheet" href="$yyhtml_root/Templates/Forum/$usestyle.css" type="text/css" /> <script type="text/javascript"> function insertHyperlink() { window.opener.document.getElementById('wysmessage').contentWindow.focus(); var theLinktype = '$linkttext'; var mylink = document.getElementById('url').value; var theLink = theLinktype + mylink; window.opener.document.getElementById('wysmessage').contentWindow.document.execCommand("Unlink", false, null); window.opener.document.getElementById('wysmessage').contentWindow.document.execCommand("CreateLink", false, …
OR, if it's just three columns - [CODE]<div> <div class="floatLeft"></div> <div class="floatRight"></div> <div class="center"></div> </div>[/CODE] Make sure all your widths (including margins and padding) add up to [B]less[/B] than your screen width (whether you're using percentages or not). Oddly enough, putting the center last allows the floats to go left …
I get an 'unknown file type' when trying to unzip and look at the file in question. But in general - First [B]rename it![/B] - at least then if someone is accessing things through it, they can't find it but you can still put it back. Second: Ask your hosting …
Well, a quick check using the keyword 'force download', indicates you can force downloads, but it isn't easy. The easiest way is to simply zip the file you want to have downloaded, since zipped files are always downloaded.
I'm not sure if this is the place for this, but no place else seemed to fit. I have a project that has gotten to the point of needing more rigorous version control as I am hoping to add more people to the project. I managed to get TortoiseSVN running …
Excel isn't a web application, so I assume you're actually referring to converting the spreadsheet to a database and then querying it? In that event, there are numerous possibilities, Perl, PHP with MySQL, anything with the capacity to query a database... The most common method for a web application would …
simplypixie has the correct answer - the ul has to be inline as well as the li. THEN if it's going to the next line, adjust the width of the wrapper.
Are you wanting the div in question to be [B]above[/B] the rest of the content or [B]layered over[/B] the other divs? Either [ICODE]position:fixed[/ICODE] or [ICODE]position:absolute[/ICODE] should do it. But having a declared doctype is a must.
Let's see - unless there's a version I'm not aware of, Photoshop is an image program - therefore any text in the image is IN the image and cannot be removed by css. Also, assuming the html page and the css page are in the same directory - '/image/' points …
There are people who love w3schools and people who hate them. My own recommendation - Go to the local library (if you can) or a good used bookstore and pick up a copy whichever 'beginning website design' book that fits your learning style. Then get some space to work and …
Echoing drjohn's recommendation - if it's not tabular data, don't use tables unless you absolutely have to. As for w3c validations - sometimes you just have to choose your battles. If everything in your css validates [B]except[/B] for the vendor specific stuff you need, then don't sweat it. And MSIE …
OR, you can get a current book on webdesign and HTML/css from the bookstore or library and bookmark [URL="http://validator.w3.org/"]http://validator.w3.org/[/URL] to check your code. (The Dummies guides are a pretty good resource if you don't know the first thing about whatever. Once you get past that, it depends on your learning …
You can center a block element with [CODE]margin:0 auto;[/CODE] If you need top and bottom margins other than 0, just make those changes. Text within the block is centered using [CODE]text-align:center;[/CODE] For a good tutorial on div positioning, see [URL="http://www.barelyfitz.com/screencast/html-training/css/positioning/"]http://www.barelyfitz.com/screencast/html-training/css/positioning/[/URL]
You may have to use javascript to grab the size of the viewing window if that's where your dynamic height and width are coming from.
You do realize you have two min-widths in there, don't you? And without a page to look at, it's hard to diagnose the problem. Like exactly what isn't working?
Okay - you have a couple ways of doing this: According to your input the only fields that are different are 2 and 4 (starting with 0) So you could simply open the input file, sort the input file, then write it to a new file. Or you could open …
I'm not seeing it on my monitor (1920x1080) And I can only reproduce your complaint if I turn off 'min-width' using developer's tools. Since your min-width is the same as your max-width - just set your width to pixels.
Okay - fixed (like any positioning) means that div has moved out of the regular flow, so anything beneath it needs to have a position (or a margin) set to allow room for the fixed div above it. Note - IE has a tendency to mess this up.
Something on the order of :[CODE]#!/usr/bin/perl # $Id: array $ # $Date: 12.02.11 $ # $HeadURL: $ # $Revision: 2011 $ # $Source: /array.pl $ ################################################################################## use strict; use warnings; use CGI::Carp; our $VERSION = 1.00; my $filename = 'arrayin.txt'; open my $DAT, '<', $filename or croak 'cannot open file'; …
Um, css describes the STYLE of the elements. I think you want to convert this into html. In that case, if [B]I[/B] were converting this file to a table, I'd strip it to a text file - without the xml tags - load it into a spread sheet, move the …
Within the file you need some sort of end of line marker to mark the end of a record (usually a '\n' but not always), and a delimiter between fields. As an example [CODE]open my $DAT1, '<', 'archive/title.txt' or die 'cannot open file'; my @data1 = <$DAT1>; close $DAT1 or …
Do a search for 'formmail' There are several available for PHP, complete with good instructions. Having the actual form as in include should make no difference - so long as it renders properly on the page.
Looks like a list with a secondary list and triangle images replacing the default disks.
Well, for one, #content isn't even in the center - it has a left position of 14% and margin: 0 0 20px. Try setting the margin to margin: 0 auto 20px auto; and drop the left:14%. Things that should stick to the bottom don't always, especially if the content gets …
But where is the rest of it? Without the html this is supposed to style, we have no way to know where the problem might be - aside from that space in front of the a:hover which should make no difference.
You don't say what OS or browser. Have you tried a forced refresh (Ctrl f5)
One, you need to have Perl and a server working on your test machine. The server needs to be configured to allow Server Side Includes in your html document. Once that's ready (along with your Perl script), the script is included with [CODE]<!--#include virtual='cgi-bin/script.pl' -->[/CODE]
In order to do the type of changeover you want, it either has to be rendered by javascript OR use a css workaround of having the actual image being transparent and having the background of the element change with the hover by assigning either an id or class. [CODE].rollover a …
No site to look at, no code to review, can't help.
use percentages to set your widths and set a min-width and max-width in px for the navigation div. You might also be able to use the IE if in the head: [CODE]<!--[if eq IE 7]> PUT YOUR ADDITIONAL IE 7 ONLY STYLES HERE <![endif]--> [/CODE]
I'm not sure it can be done in straight css - even if you don't set a base font size, the browsers all have them built in. There may be a javascript solution - check the window size and set the font-size of the element based on that.
There's no one book - it's a visually oriented mindset. But if I were to suggest a few books that are web specific: 'The Principles of Beautiful Web Design' by Jason Beaird, 'transcending CSS' by Andy Clarke 'Web Designer's idea book' by Patrick McNeil Otherwise, check out the graphic design …
Your best bet - since it's going to be online - php with mySQL. Chances are your client's host has that available. There are lots of tutorials out there. Shouldn't be that difficult if you already have some knowledge of setting up and accessing databases.
The image in the double border isn't anchored to the mainWrapper div or info div - add [CODE]position:relative[/CODE] to one of them (you may have to experiment to see which one works) but that should then anchor the [CODE]position:absolute[/CODE] to within the mainWrapper or info box. Nice lower graphic and …
MSIE has developers tools where you can look at the css in each element and experimentally turn them off. Also, does the page validate (even close?) to your doctype? What one browser may pass, another may choke on.
At a guess - since we don't have all your css - the div just inside of the 'sub_right_column_container' has a margin of -350px and for some reason (maybe a float not cleared in the column ahead of it or some vagary of how MSIE treats text sizes and/or margins) …
There's no standard way - For me, on a two column layout, I'd float both divs (left and right), both at 49% wide. I generally have 'clear:both' as a class named clear, so I can clear the divs in whatever I have coming after them. (hr, br, whatever.) For height …
There are a couple different things you can try - set img/intro.jpg as the background in the containing element. OR: set the z-index for img/intro.jpg to 0, the z-index of the h2 to something higher, then use a negative margin to position the h2 over the image.
I assume you're referring to the box-shadow, text-shadow, and rounded corners. IE can show the box-shadow using a filter: [CODE]-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#333333')"[/CODE]; (You can change out the direction, color and opacity.) But for rounded corners, there a a few fixes out there, but I haven't gotten any of them …
The min-width is for how small it can get. Set a max-width as well - but set it high. That way it will be liquid for most screen resolutions, but limited for hugely wide screens.
You have to have some sort of selector mechanism linked to an onclick event - javascript or jQuery
Split your text - put the left-aligned stuff into a left-aligned paragraph (or float it left) and the other stuff in a right-aligned paragraph (or float it right). If you need it in columns - then use two divs inside the main one - float one left and the other …
That's one nested div for each one of your border graphics set as a background image with the background color set to transparent. [CODE]<div id="inner_top" style="background:transparent url(bk_top.gif) top left no-repeat">[/CODE]
Okay - first, javascript reads the time off the system it's on - it's not reading time off the server at all. A work around is to detect how far off the time on system is from GMT then add back a correction for how far off of GMT the …
And there no such attribute at widht.
You're showing us what you want but not what you've got. BUT, the [CODE].bg {width:100%;height:100%;position:absolute;z-index:-1;}[/CODE] is doing it. There's no position attribute in the #d1 so the absolute positioning in .bg will put .bg up in a corner of the browser window - which is its actual parent container. see: …
[CODE]my $file = $filename; open my $FILE, '<', $file or die 'cannot open file'; [/CODE] I assume the file your trying to open isn't named something like "filevar,filemodefilename"
Well, target=_blank has been depreciated for some time. [CODE]onclick="target='_new';"[/CODE] is the preferred way to open a new window for a link. Though how this relates to a headline, I have no idea.
The End.
Dandello