Hi All,
I am working on a small script where there are some list items. If you refer to the below code you will notice that there are 15 list items. Now I just want to display 9 of them say the user log's in the 1st time the first nine should be displayed now if he clicks on list no. 7 then list no 3, 4, 5, 6, 7, 8, 9, 10, 11 should be ...
Trying to get a regex that I can get a style attribute value from the example below should explain my issue.
source: font-size:11pt;font-color:red;text-align:left;
want to say give me ..
font-size and returns 11pt
font-colour and returns red
text-align and returns left
Can someone point me in the right direction
Thanks
Lee
...
How do you make DIV's that are floated left next to each other not wrap when the browser is re-sized such that the viewport becomes smaller?
div {
float: left;
}
For example when the browser is fully maximized the divs line up like this:
|div| |div| |div| |div| |div| |div| |div| |div|
But when the browser re-sized smaller this ha...
I need to create some balloons that will contain text messages, similar to what you would see on a BBS or a blog comments area.
I am not looking for a tool-tips widget - There will be several per page and they will always be displayed.
My requirements:
Drop shadows, if possible, using images instead of the box-shadow style for compat...
I'm planning a webapp. I have all the wireframes defined, the interfaces designed in photoshop, data structures etc. It will be built on php and mysql however I've been unable to decide on which technology to use as a GUI. All your insights are welcome.
The problem with going the html way is that the GUI makes use of a special font that...
Hello
I have a scoped jquery ui theme for my page styling.
I want to use an unscoped ui component WITHIN this layout ( the user will be using the themeswitcher utility to customize the look of their 'custom component'. )
like this
<div class="my-theme">
content and a bunch of widgets here
<div class="unscoped-theme">
...
I have a input box for users to enter search terms in. I have a input button beside the search box. for some reason the button is rendering below the search box.
I want the button to be right beside the input box.
My html:
<div id="searchbox">
<form method="post" action="/search/test">
<div class="se...
I have this:
But i want to have place text in the middle like this:
How do i do it?
Im sorry forgot to mention i want this in the web.. so like html, so i would use a div or a span to do it
...
I have a button in html:
<button id="MyButton" onclick="return DoSomething()">Click Me</button>
Is it better to put the "onclick" property in the html or use javascript/DOM to attach a callback to the button click?
...
I have this:
But i want to have place text in the middle like this:
How do i do it?
I would like to do this in html, so i would use a div or a span to do it
My other question got closed, due to "not a real question", but i am specifying what programming language i want to do this in now.
...
I'd like to start using question marks at the end of clauses as well as sentences. To indicate this I would like to use a question mark with a comma underneath, which I'd like to call a quomma.
There doesn't seem to be a Unicode code point for this unconventional punctuation, so what is the most Web-friendly way of doing this?
The com...
I am trying to create a file upload field that has a little bit of style to it, but I seem to be having problems finding examples of this. I know part of the reason is that the field itself varies from browser to browser.
Any ideas how to do this? Or is there a way to do this without using a file element of a form that can be styled?
...
Every web page load from top to bottom means first my header will be loaded then content and finally footer. How can i make it to load from bottom to up.means first footer then content and then finally header content.
Are you getting what i am trying to say.??
OR
to make it load from right to left OR
left to right..
...
Is there a way to make it so when a site is viewed with a phone or other small mobile device the site automatically recognizes that it is being viewed as such and either re-directs to a phone friendly subdomain mirror or automatically calls a script that makes it phone friendly?
Any articles or advice would be greatly appreciated!
...
Hi!
My MySQL Database Provides A List of Items (and integer IDs with them) in a <select> and a qty field for usage on my web form (with style display: none so it is hidden). But: I want the user to be able to select how many choices of this type he wants to enter in the form - how can I dynamically make multiple selects?
Example: The p...
Hello,
I'd like to build a C# application that would:
go through the list of my Favorites (for example, in IE)
check if site was updated since my last visit
show a list of recently updated urls
Point 2 seems problematic, since C#'s HttpWebResponse.LastModified property is not working for some blogs and other sites (it reports the cur...
On a page, I have a select (multiple) box with many options.
Now I want to react on the last clicked item to display some data with ajax.
As the "click" event on the option element does not work in IE, I currently use the "change" event.
The problem is, that the "value" and the selectedIndex attribute point to the first selected item, ...
I'm trying to create a Joomla component that displays the contents of a database table as a table on-screen. In the com_<name>/views/<name>/view.html.php file, what is the best way to create an HTML table that looks like a standard Joomla table? Do I create the HTML table manually and decorate it with some CSS classes, or is there a stan...
I have a main div, and inside it..I have 2 divs, both left aligned.
For some reason(or property), when I drag the right of my firefox to make the browser smaller, the 2nd div goes on to the second line.
I would like this div to stay on the first line, instead of jumping down a line.
How can I do that?
I am assuming overflow property?
...
Hi everyone, I can't work out how to get the contents of the second span 'cantfindme' using php simple html dom parser(http://simplehtmldom.sourceforge.net/manual.htm). Using the code below I can get the contents of the first span 'dontneedme'. I cant seem to get anything from second span at all.
$html = str_get_html('<html><body><tab...