|
Sure, try the Google Toolbar or one of the many other utilities for automatically filling in forms.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
I need to present data with the following structure:
+-------+--------+-----+-----+------------+
| Kalle | Anka | 1 | A | Ankeborg |
| | | 2 | B | |
| | | 3 | C | |
+-------+--------+-----+-----+------------+
| Arne | Weise | 1 | Y | STockholm |
| | | 2 | X | |
+-------+--------+-----+-----+------------+
What would be the most "correct" way to do this according to html and css standards etc?
It is tabular data but two of the cells contains lists.
My first thought was to simply flatten the data and make a TR for each list element, thus making this made up sample into 5 TR where some of the fields are blank.
But are there other alternatives?
would it be correct to use ul/il elements inside the cells for the lists?
bullet lists with css formatting inside the list cells?
|
|
|
|
|
Roger Alsing wrote: would it be correct to use ul/li elements inside the cells for the lists?
Yes, and this would be the cleanest way.
|
|
|
|
|
Hi all,
I am trying to make my image increase or decrease in size depending on the user's screen resolution. I have dimensioned my image using percent signs instead of pixels. However, it did not work and I was wondering if what I'm trying to do is even possible. Please point me to materials that could help me with this if what I am attempting to do is something that can be done, or you can help explain it to me. Thank you in advance for your help.
modified on Sunday, April 13, 2008 10:13 PM
|
|
|
|
|
|
Hi I have a problem regarding divs. I created a javascript function to change the position of a div. The problem is that this div is in another div and the function is not effective. I tried this function on other divs and worked but when the divs are in another div it does not work. Can someone tell me how make the function work for this div please?. I thank you infront. The function is the one below.
function gotoposition(xpos,ypos,div1)
{
e=document.getElementById(div1);
e.style.left = xpos +'px';
e.style.top = ypos + 'px';
}
|
|
|
|
|
Position is always relative to something. If you use the position: relative style, then it's relative to the normal position; if you use position: absolute , then it's relative to the containing box (the document itself, or an ancestor with position: relative ); if you use position: fixed , then it's relative to the window, page or viewport. The default is position: static , which ignores left , top , right , bottom styles.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Is this the place to ask a question about Flash (actionscript?)
|
|
|
|
|
Hi all,
I would like to know whether there is a way I can get all of the controls running on the current page. In win forms I did the following, but how can I do this is in the web?
...
Control.ControlCollection collection
...
Many thanks in advance
Regards,
The only programmers that are better that C programmers are those who code in 1's and 0's
Programm3r
My Blog: ^_^
|
|
|
|
|
Is this an ASP.NET question ? You can do the same in your C# code behind, but because controls are nested, you need to do it recursively.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I am in web development, our clients ask us for demo projects and in some cases we found they saved our pages using file-> save as and misused our hard work.
Is there any way to save our pages from file-> save as. Or any other method to protect our pages.
|
|
|
|
|
You can send them an image that represents the page, so a jpg instead of the actual html. That's about it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I am an ASP web developer developing a website.
I've got ASP files in many sub-folders of many levels deep.
I've always used:
The VIRTUALSITE name is really the virtual directory created under IIS.
I clone my website multiple times, to cater for different people. So, each person gets a different VIRTUALSITE name.
This gets messy when I need to update the websites. I can't do a diff/merge because the files of each site had a "search & replace" applied to them to change the VIRTUALSITE name to the corresponding person.
Has anyone experienced this problem? Can someone give me some tips/solution on how to resolve this?
|
|
|
|
|
Not sure how large the site is, but make it almost 100% dynamic. Of course this is easier said than done, but then you can have just one site with multiple references to it, or just change a few app settings and have a whole new site. Look at how some free forums (DMG Forums for example) work.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Hi all.
I have a link on an html page that expands/collapses a section within a table.
It works fine in IE except firefox. It show the expanded table directly below a "show more" link, and this works except in firefox, where it display the expanded control right at the bottom of the page.
Does anyone know what could be wrong?
Here is the javascript method to expand/collapse:
<br />
function ShowExpand(but,linkID)<br />
{<br />
var el = document.getElementById(linkID);<br />
if (el!=null)<br />
{<br />
if (el.style.display == "block")<br />
{<br />
el.style.display = "none";<br />
}<br />
else<br />
{<br />
el.style.display = "block";<br />
}<br />
}<br />
}<br />
This is how i call the method:
<span class="moreinfolink" onclick="ShowExpand(this,'AssPPlInfo'); return false;">(More Information)</span>
Is there anything i am doing wrong hich firefox is fussy about?
Any help woule be greatly appreciated.
M
|
|
|
|
|
marky777 wrote: AssPPlInfo
What sort of an element has this ID? If it's a DIV or other element that normally uses display: block then you should be fine. If it's a table (display: table ), a table row (display: table-row ), table cell (guess...), etc. you'll run into problems with things not displaying right. IE sorta handles this because older versions of IE didn't actually support table display styles.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Hi, thanks for your help.
It is a tbody element. For this element, what display mode would i use?
Thanks again.
|
|
|
|
|
Try: table-row-group
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Hi Can anyone tell me or point me to a tutorial of by using asp.net how to get the string value of a sites source, asif you are right clicking on a page in your browser and clicking on "view source"
Thanx
Le Roux Viljoen
Web Developer
PCW New Media
South African Branch
www.pcwnewmedia.com
|
|
|
|
|
We have an ASP.NET forum, but you would not use ASP.NET to do this, because that's plainl impossible, you don't want to run a server that generates HTML ( ASP.NET ), you want to run a client app that requests pages and stores their content ( this would be a winforms app )
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
You could try this as a starting point:
<br />
public static string GetPageFromUrl(string strUrl)<br />
{<br />
string strReturn = string.Empty;<br />
<br />
WebRequest webRequest;<br />
WebResponse webResponse = null;<br />
<br />
try<br />
{<br />
webRequest = WebRequest.Create(strUrl);<br />
#if(DEBUG)<br />
webRequest.Proxy = WebRequest.DefaultWebProxy;<br />
webRequest.Proxy.Credentials = CredentialCache.DefaultCredentials;<br />
#endif<br />
webRequest.Timeout = 10000;<br />
webResponse = webRequest.GetResponse();<br />
Stream streamReceive = webResponse.GetResponseStream();<br />
Encoding encoding = Encoding.GetEncoding("utf-8");<br />
StreamReader streamReader = new StreamReader(streamReceive, encoding);<br />
strReturn = streamReader.ReadToEnd();<br />
streamReader.Close();<br />
}<br />
catch (Exception exception)<br />
{<br />
Console.Write(exception.Message);<br />
}<br />
finally<br />
{<br />
if (webResponse != null)<br />
{<br />
webResponse.Close();<br />
}<br />
}<br />
<br />
return strReturn;<br />
}<br />
The code above is somewhat simplistic; however if you pass it a valid url it will attempt to return the text of the requested page. I leave it to you to implement some more appropriate exception handling, etc.
|
|
|
|
|
Thanx a million, its nice to finally get a response on a forum without someone trying to give me a list of reasons why i should not do this, assuming that i wanted to do it for a reason they thought up.
Thanx again this code works killer
|
|
|
|
|
Hi All,
Suppose I have a page that allows users to download a file. Before the file download, I want to perform custom processing on the file. For example, I want to unpack it from the zip, perform the custom processing, and then pack it back up before the download.
I believe an ISAPI extension is the proper technology. However, is this feasible? For example, is it possible [desired] to block a thread in the server process until my extension has processed the file?
Jeff
|
|
|
|
|
It would be much simpler to use an ashx "page" or create an HttpModule than writing an ISAPI extension. Your page would then just need to provide a link that would point to the resource (the ashx page or the actual zip file if you're using an HttpModule). Doing it this way means you're not coupling the custom processing on the zip file with the actual page.
The answer to your second question depends on the amount of time and resources (CPU memory) required to process the zip file (decompress/manipulate/compress) verses the amount of traffic on your site. You can only answer this by doing some testing and observing the server's performance (perfmon utility) when you are processing the zip file. If you determine you need to isolate the process from the rest of your web application, you could create a separte web site on your server that uses either your ashx file or httpmodule and place that application in a separate app pool. If you have the resources, you could even place it on a separate web server. Because your page is just using a link to point to the resource you could place your process anywhere and isolate it.
Mark's blog: developMENTALmadness.blogspot.com
Funniest variable name:
lLongDong - spotted in legacy code, was used to determine how long a beep should be. - Dave Bacher
|
|
|
|
|
At the company I work for we have a web development standard that says all page formatting shall be handled by the HTML of the page and all styling shall be handled by a CSS file. Our standards fail to define what is formatting and what is styling. I assumed styling to be things like color, font face, font size, background images, etc. You know, the "pretty" stuff. I consider formatting to be organization of the data (lists, tables, paragraphs, etc). Recently one of my projects was handed back to me with notes saying the HTML contained styling elements. More specifically, the HTML line break element <br /> is a styling element and not allowed in HTML. I don't agree with this, especially since every web app we have has line breaks in the HTML code, so I can cite precedence. My boss won't listen to my objections so I need some personal vindication. What does everyone think, is the line break a styling element, or a formatting element?
"How come you can't taste your tongue?" - Jon Arbuckle
|
|
|
|