|
Hi,
I have a <table> like this:
Name Mike Watson
Title Accountant
Department Finance and I want to list it this way using CSS:
Name
Mike Watson
Title
Accountant
Department
Finance How can I do that please?
Technology News @ www.JassimRahma.com
modified 27-Jul-15 4:08am.
|
|
|
|
|
<style>
table {
width: 100%
}
table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
}
th,
td {
padding: 5px;
text-align: left;
}
</style
<h2>Horizontal Headings:</h2>
<table>
<tr>
<th>Name</th>
<th>Telephone</th>
<th>Telephone</th>
</tr>
<tr>
<td>Bill Gates</td>
<td>555 77 854</td>
<td>555 77 855</td>
</tr>
</table>
<h2>Vertical Headings:</h2>
<table>
<tr>
<th>Name:</th>
<td>Bill Gates</td>
</tr>
<tr>
<th>Telephone:</th>
<td>555 77 854</td>
</tr>
<tr>
<th>Telephone:</th>
<td>555 77 855</td>
</tr>
</table
>
Sam
|
|
|
|
|
Hi Jassim,
More than making a table it is better to make it more attractive.
<ahref="http: www.w3schools.com="" css="" css_table.asp"="">http://www.w3schools.com/css/css_table.asp[^]
|
|
|
|
|
Hi,
We are trying to convert Word, Powerpoint and Excel files to PDF (for Word and PPT) and to HTML (for Excel). Excel does a really great job converting and there are free PDF convertors for Word and PPT in windows.
We want to run a windows VM to do this where we can pass in requests and documents and receive the result back. I haven't been able to find anyone who has experience with Windows VM's and automated use of Excel and free ToPDF tools.
Does anyone have any thoughts / experience in doing this or can point me in the right direction?
Thanks in advance,
John.
|
|
|
|
|
|
Hi,
I have check the iPhone 6 Plus specifications on apple.com[^] and found the following under the Display section:
5.5"
1920-by-1080-pixel resolution at 401 ppi
I want to know how can re-write this in CSS media query format to be something like this:
@media only screen
and (min-device-width : ----px)
and (max-device-width : ----px)
and (orientation : portrait [OR LANDSCAPE])
and (-webkit-min-device-pixel-ratio : -)
Thanks,
http://www.softnames.com[^]
Technology News @ www.JassimRahma.com
|
|
|
|
|
Hi,
I have a table with the following columns:
Status
Paid
category
From
To
Total Days
It's shown perfectly on desktop but I want to adjust the width or the layout of it on mobile
I am using:
@media all and (max-width: 414px) and (min-width: 375px)
but I am not sure what to set there for Tables and what's the the best way to do it?
Thanks,
Jassim[^]
Technology News @ www.JassimRahma.com
|
|
|
|
|
Hi,
I found this article:
https://css-tricks.com/responsive-da...#comment-91835[^]
it's really excellent but I have a question please.
using the CSS mentioned in the article will turn all my TDs and TRs which is good except this part:
td:nth-of-type(1):before { content: "Status"; }
td:nth-of-type(2):before { content: "Paid"; }
td:nth-of-type(3):before { content: "Category"; }
td:nth-of-type(4):before { content: "From"; }
td:nth-of-type(5):before { content: "To"; }
td:nth-of-type(6):before { content: "Total Days"; }
because there are different tables in every page so how can I tell the CSS which titles to use for which table?
Thanks,
Jassim[^]
Technology News @ www.JassimRahma.com
|
|
|
|
|
|
Hi,
I am using below css for iPhone 6 Plus but it's not working when I browse from my iPhone 6 Plus..
when I say not working I mean the h1 font size and color is not changing.
what's wrong please..
/* iPhone 6 Plus Portrait */
@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px)
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio : 3)
{
h1
{
font-family: 'Open Sans Condensed', sans-serif;
font-size: small;
font-weight: bold;
padding: 2% 0;
margin: 10px 0;
color: #FF0000;
}
}
/* iPhone 6 Plus Landscape */
@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px)
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio : 3)
{
h1
{
font-family: 'Open Sans Condensed', sans-serif;
font-size: small;
font-weight: bold;
padding: 2% 0;
margin: 10px 0;
color: #FF0000;
}
}
Thanks,
Jassim[^]
Technology News @ www.JassimRahma.com
|
|
|
|
|
Smells to me like one or more of your device criteria is not being met. Try cutting them out one by one to see when you get a match.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Jassim Rahma wrote: when I say not working I mean the h1 font size and color is not changing.
Could it be that the css values are the same for both selectors?
Jassim Rahma wrote: font-size: small;
Jassim Rahma wrote: color: #FF0000;
Jassim Rahma wrote: font-size: small;
Jassim Rahma wrote: color: #FF0000;
There are strangers on the Plain, Croaker
|
|
|
|
|
Hi,
I want to ask which way is better for mobile site?
Using CSS and adjust the DIVs based on screen width and height?
Or redirect to a folder with complete mobile site?
what's your advise?
Thanks,
Jassim[^]
Technology News @ www.JassimRahma.com
|
|
|
|
|
"It depends". If you want your mobile site to be the same as your desktop site, just with a different display then the best way of doing that is via a responsive css design so the same site looks different on smaller devices. However if you want the site itself to be different, maybe you want a scaled-down version for mobiles with less pages and features, then it might be easier to have a different site for mobile that uses the same back-end.
|
|
|
|
|
Hi Jassim,
The best way is to create a website using responsive theme. But if you are using a non-responsive theme then go for editing the theme with CSS.
You can also add a different site for mobile devices. But the problem will be that you have to manage two different websites for desktop and mobile users.
|
|
|
|
|
hi,
i have google autocomplete suggestion in textbox and added jquery autocmplete suggestion to google pac-container div.
If i select the jquery suggestions from div, i am able to fire in
$(document).on("click", function (e) {
]
but i need to get selected element value. below is my div.
LondonUnited Kingdom London BridgeBengaluru, Karnataka, India LonavalaMaharashtra, India Longitude GroupLavelle Road, D Souza Layout, Bengaluru, Karnataka, India LondenpetKrishnagiri, Tamil Nadu, India 830 LONG DRIVE, ABERDEEN, MARYLAND, UNITED STATES, 21001 2370.628906-4569.779785 830 LONG DRIVE, ABERDEEN, MARYLAND, UNITED STATES, 21001 2371.930664-4571.367188 1 AVENUE DELAFOSSE PROLONGEE 01 BP 2185, ABIDJAN, COTE D'IVOIRE, 2185 320.179077-241.665054 9910 AVALON ROAD NW, ALBUQUERQUE, NEW MEXICO, UNITED STATES, 87121 2105.522949-6394.536133 9910 AVALON ROAD NORTHWEST, ALBUQUERQUE, NEW MEXICO, UNITED STATES, 87121 2103.865723-6389.127441
based on Div selection option (id =areasearch or class="pac-item-areasearch") i need to get the addrees and lat & lon.
How to achieve selected div element values .
if anybody knows reply me.
Thanks in advance.
modified 24-Jul-15 8:31am.
|
|
|
|
|
What are the latest trends in the UI design?
|
|
|
|
|
|
|
Hi . I am working on web page using ASP.NET.
I have a dashboard . In that dashboard I have 4 grid views. On every grid view I put ADD NEW Button
each. On clicking on that add new button J query modal pop up is opening and in that modal popup I have embedded different aspx page(so Called MasterData.aspx) in it using iframe tag.
On click on server side save button after saving a data . The modal pop up should close.
Note : This modal pop up is on Dash board page , My requirement is from MasterData.aspx page . modal pop should close which is on dashboard.aspx page
Thanks
|
|
|
|
|
As a developer would you send a webpage as a CV/ Resume? Or should one send a .rtf or .doc?
|
|
|
|
|
I always send my resume as a word document.
Yet, in my resume there are references to my articles, my web page etc.
I wouldn't send only the Web page... yet if you think your web page has great information (or can really show your work), make it clear on the resume that the web page visit will pay.
|
|
|
|
|
Hi MarcusCole,
Sending resume is a standard while applying for interview. So it is better not to ignore it. But as a developer your CV can't show your live work.
Therefore, it is better to send CV and add the address to your portfolio website.
|
|
|
|
|
Is it better to split a string with clear instructions or use Regex with Clear Instructions?
|
|
|
|
|